You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where some users will need a JWT with a longer timeout. I know that in a standard app, I can edit src/authentication.js to add a expireIn flag, but this result in all JWT having the extended validation time.
Is there a way, for example in a hook, to change the expireIn option for just that request? By manually searching inside it, the only thing I found is hook.app.authentication.jwt.expireIn, which doesn't look like what I want.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs.
lockbot
locked as resolved and limited conversation to collaborators
Feb 7, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a use case where some users will need a JWT with a longer timeout. I know that in a standard app, I can edit src/authentication.js to add a
expireIn
flag, but this result in all JWT having the extended validation time.Is there a way, for example in a hook, to change the expireIn option for just that request? By manually searching inside it, the only thing I found is
hook.app.authentication.jwt.expireIn
, which doesn't look like what I want.The text was updated successfully, but these errors were encountered: