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

Correct Expiration of tokens #30

Open
Janekdererste opened this issue Sep 7, 2018 · 0 comments
Open

Correct Expiration of tokens #30

Janekdererste opened this issue Sep 7, 2018 · 0 comments

Comments

@Janekdererste
Copy link
Member

Tokens are currently valid for a long time. They should have a shorter expiration period.

  • Access Tokens within the range of a day (24 hours). That would require logging in once a day.
  • Id Tokens should be valid for less than one hour. (maybe 10 minutes?) They are only used for signing into the client and letting the client fetch user info from auth server.
  • Implement a sweeper task which clears expired tokens from the database (perhaps once a day)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant