Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset Token Expire time #32

Open
NexPlex opened this issue May 14, 2018 · 1 comment
Open

Reset Token Expire time #32

NexPlex opened this issue May 14, 2018 · 1 comment

Comments

@NexPlex
Copy link

NexPlex commented May 14, 2018

Hi,
I like to reset the token expire time on the server and client based on users using the client. No activity timeout at SECURITY_TOKEN_MAX_AGE = 60 * 30. With user activity reset the expire time to current time + SECURITY_TOKEN_MAX_AGE. Any suggestions on how to do this?

Thank you

@ansrivas
Copy link
Owner

Hi, I am using flask-security for managing the token's expiry age. I am not very sure if it provides any mechanism to achieve this as of now.

You can actually try here to see if they expose any such functionality. https://pythonhosted.org/Flask-Security/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants