Understanding the auth flow after OAuth/OIDC #11523
Unanswered
SebastianBodza
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the auth integration directly from the Azurechat project from Github. And I would like to know what is happening after the oauth/oidc authentication. The detailed implementation is unfortunately not available in the documentation.
Nextauth is configered:
Logging the account after login, I can see the id_token and the access_token. A refresh token is not provided. Both are valid for 2h.
When I browse the webapp and regularly update the pages the jwt_token is regularly updated and is always valid for 2 additional hours.
Is the access_token ever used again after the inital account lookup after the login? Would this mean that a person browsing the webapp in intervals < 2h and updating therefore the session is never logged out?
As I understand it correctly, the user is only ever logged out after the IDLE time of the maxAge, is that correct?
To also limit the complete login time, I would assume to do the following:
Would that be a workaround? Or is there already a max login duration implemented?
Any help is appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions