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

User doesn't get logged out when token expires #29

Open
jfabellera opened this issue Feb 5, 2021 · 1 comment
Open

User doesn't get logged out when token expires #29

jfabellera opened this issue Feb 5, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jfabellera
Copy link
Owner

Currently, refresh tokens have a 24 hour life span. After 24 hours, any requests made by the user will run through the axiosAPI interceptor to get a new accessToken, but when that request also fails, the frontend does nothing to redirect the user.

@jfabellera jfabellera added the bug Something isn't working label Feb 5, 2021
@jfabellera jfabellera self-assigned this Feb 8, 2021
@jfabellera
Copy link
Owner Author

Work arounds for now:

Dev
When error page comes up, click the x, and log out and log back in.

Prod
Log out and log back in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant