Hi! I have a question and would really appreciate if someone could help me with it.
I have a use case where I would like to extend the session for more than 3 days, since the user will use the app offline and might become online after a week.
I’m using the express-openid-connect library in a SSR Nextjs app with an express router.
There’s no need for access tokens, so I’m just using the middleware in the endpoints to check that the user is authenticated, so only the id_token is really being used.
I saw that there’s a limit of 30 days for the session lifetime, but is there a way of refreshing and getting a new one without forcing the user to enter its credentials?
If not, is it possible to have a bigger absoluteDuration
in the express-openid-connect
settings than the session lifetime limit? What would happen?
Thank you!