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

Error from expired accessToken hasn't been handled #49

Open
amadzuki opened this issue Sep 6, 2020 · 0 comments
Open

Error from expired accessToken hasn't been handled #49

amadzuki opened this issue Sep 6, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Projects

Comments

@amadzuki
Copy link
Owner

amadzuki commented Sep 6, 2020

isAuthenticated stayed true and expired accessToken is still there in the localStorage. But of course it can't be used.

Somehow it makes the whole app crashes. I've got to get this error handled.

Before sending any request that require accessToken, I've got to check it first. If it's expired, then the corresponding states must be altered too (i.e. isAuthenticated: false and accessToken deleted)

@amadzuki amadzuki added the bug Something isn't working label Sep 6, 2020
@amadzuki amadzuki self-assigned this Sep 6, 2020
@amadzuki amadzuki added this to To do in Saikou via automation Sep 6, 2020
@amadzuki amadzuki moved this from To do to In progress in Saikou Sep 7, 2020
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
Saikou
  
In progress
Development

No branches or pull requests

1 participant