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

Token Invalidation #279

Open
liampmoore opened this issue May 26, 2020 · 0 comments
Open

Token Invalidation #279

liampmoore opened this issue May 26, 2020 · 0 comments

Comments

@liampmoore
Copy link
Contributor

If you are logged in too long your token will become invalid, though the token stays in localstorage and the frontend app thinks you are logged in. After that all requests that require authentication (such as requests for your list of favorite cities) will fail.

You can reproduce this issue by staying logged in for more than a day.

We could have the app either log you out if your token is invalid, or implement some sort of token refreshing so that the application periodically sends a request to get a new token from the web backend.

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

1 participant