Refreshing session #1075
schreddies
started this conversation in
Ideas
Replies: 2 comments 11 replies
-
Btw, this is tracked and discussed in #615 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Folks!
I would like to start discussion about making session refresh for Kratos more useful.
Current flow
Right now, according to documentation and my own experiments the refresh flow goes like this: user make request through API login for flow id, with flow id tries to login with credentials (/password) and then getting session token ends login flow. Next, she/he calls the flow endpoint with
/?refresh=true
withAuthorization
header includingsession_token
and the newflow_id
is created. Then it can be used as the id flow for next login call with credentials.Expected
There is an endpoint, might be admin, when the similar call as for initiation login flow with
?refresh=true
is performed including the authenticated user (viaAuthorization
header) the session_token will be prolonged or new token with new expiration value will be issue.Beta Was this translation helpful? Give feedback.
All reactions