#Session logs out if tab is closed in chrome (self hosted, docker)

1 messages · Page 1 of 1 (latest)

primal hill
#

I have to log in each time I close the tab in chrome.
Any documentation on session management?

rapid tangle
#

Perhaps the same solution as here #1244555654413156352 message

zealous dirge
#

Yep, what values do you have in your environment variable regarding access token and refresh token expiration?

primal hill
acoustic phoenix
#

Regarding REFRESH_TOKEN_EXPIRES_IN and ACCESS_TOKEN_EXPIRES_IN, we have default values but they are quite low (30m).
The one you want to keep is REFRESH_TOKEN_EXPIRES_IN, as long as this one stays up you will be able to refresh a new access token so ACCESS_TOKEN_EXPIRES_IN does not matter much but you can update that one too.
You can even put something like REFRESH_TOKEN_EXPIRES_IN=1000y