angular2-flask
angular2-flask copied to clipboard
Reset Token Expire time
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
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