Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation of Session extension incomplete #1743

Open
5 tasks done
quintilation opened this issue May 30, 2024 · 0 comments
Open
5 tasks done

Documentation of Session extension incomplete #1743

quintilation opened this issue May 30, 2024 · 0 comments
Labels
bug Something is not working.

Comments

@quintilation
Copy link

Preflight checklist

Ory Network Project

No response

Describe the bug

If you extend a kratos session using the admin API,
the next call to the public toSession()/Whoami REST API will then return a new cookie.

This new cookie must be returned to the UI and used for future UI requests;
I believe the cookie contains an expiry data as part of its encrypted payload.

This is not explained in the kratos documentation and if this is not done,
UI requests start to fail when the original session expires even though the
session in the database has been updated.

Reproducing the bug

Not really relevant

Relevant log output

not relevant

Relevant configuration

not relevant

Version

kratos 1.1.0

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Docker Compose

Additional Context

No response

@quintilation quintilation added the bug Something is not working. label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant