Extending token ttl on login #1151
Unanswered
easypay-mrosmane
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
so I'm faced with the following scenario: in our application we have a userbase that evolves rapidly, a lot of new accounts, but most are very short lived accounts where we need to prevent people being able to log in. However some users do use our application for an extended period.
So we have set up a rather short ttl but we'd liek to accomodate our returning users a bit by just extending the ttl of the current token on using the application, meaning as long as they're active day after day they remain logged in as the token ttl keeps getting extended.
What would be the best way to go about this? I've looked at the refresh bundle mentioned in the docs, but I'm not using doctrine orm or mongo odm so it's not a great fit.
Beta Was this translation helpful? Give feedback.
All reactions