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 Authentication::resumeSession() #5

Open
xorinzor opened this issue Jun 30, 2022 · 0 comments
Open

improve Authentication::resumeSession() #5

xorinzor opened this issue Jun 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@xorinzor
Copy link
Member

Currently if fetching the user fails, the system will remove the token from localStorage and log you out.

However, this will always happen, not only with an unauthorized response. (ie: also when the server is not reachable, offline, etc).

todo:

  • check on type of error and handle accordingly
  • if server is offline or unreachable, periodically retry?
@xorinzor xorinzor added the enhancement New feature or request label Jun 30, 2022
@xorinzor xorinzor transferred this issue from Shoutzor/Shoutzor Oct 15, 2022
@xorinzor xorinzor added this to Shoutzor Nov 9, 2022
@xorinzor xorinzor moved this to Todo in Shoutzor Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant