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

Improve docs on session expiration #367

Merged
merged 1 commit into from
Dec 31, 2019
Merged

Conversation

danschultzer
Copy link
Collaborator

This resolves #360

I wonder if Pow should support absolute timeout. Right now a session can be kept alive indefinitely, if requests are constantly made. The session token is rolled every 15 minutes, but if someone highjacks the session, they can keep the session alive indefinitely instead of being forced to sign in again after the absolute limit is reached.

If implemented, sane default would most likely be a few hours for the session, and 30 days for the persistent session.

@danschultzer danschultzer merged commit 937d39e into master Dec 31, 2019
@danschultzer danschultzer deleted the improve-session-ttl-docs branch December 31, 2019 00:38
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

Successfully merging this pull request may close these issues.

Clarity over TTL and Session Expiration
1 participant