Hello, I couldn't figure this issue or seen it mentioned anywhere. I'm using ST with docker and wan...
k
Hello, I couldn't figure this issue or seen it mentioned anywhere. I'm using ST with docker and want to change the default session token validity duration. I've set the env variables to these example values:
REFRESH_TOKEN_VALIDITY: 1200
ACCESS_TOKEN_VALIDITY: 600
It seems like these values are in minutes (and not seconds), because the session is revoked (refresh token is invalidated) after 1200 minutes (20h) However, when trying to manually create or refresh a session by manually calling the ST core (
/recipe/session
or
/recipe/session/refresh
endpoints), the generated tokens validity times are in seconds. (refresh token is invalidated invalidated after 1200 seconds) Is this a bug? Or am I missing something?
r
hey @kaegiluppi refresh token validity is in mins. Access token validity is in seconds
k
oh ok, I did miss that
27 Views