Closed nickyhajal closed 9 months ago
I would like to be able to set a longer expiry time on a session based on the device a user is signing in from.
It seems like getNewSessionExpiration can take arbitrary times, but createSession always calls getNewSessionExpiration with no parameters.
getNewSessionExpiration
createSession
Is it possible to allow createSession to pass those follows through to allow for custom expiry times when creating a session?
Unfortunately no since we need to know how how long sessions lasts for when extending them. It has to be known global
Description
I would like to be able to set a longer expiry time on a session based on the device a user is signing in from.
It seems like
getNewSessionExpiration
can take arbitrary times, butcreateSession
always callsgetNewSessionExpiration
with no parameters.Is it possible to allow
createSession
to pass those follows through to allow for custom expiry times when creating a session?