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

Bug: Failed reconnect when launching app after a while #30

Open
Vrixyz opened this issue Sep 8, 2023 · 0 comments
Open

Bug: Failed reconnect when launching app after a while #30

Vrixyz opened this issue Sep 8, 2023 · 0 comments

Comments

@Vrixyz
Copy link
Owner

Vrixyz commented Sep 8, 2023

a user is not able to come back automatically authenticated after a while.

repro steps:

  • authenticate with simple example
  • leave the app
  • wait for the authentication token to expire
  • re launch the app
  • BUG: our authentication doesn't refresh so requests fail.
  • EXPECTED: authentication detects it's epired, refreshes then we're smoothly back to authenticated.

proposed solution:

  • when app launches with a token, check for its expiration
  • check if refresh token logic is OK (see refresh token client tests #29)
  • optionally: request a simple route to make sure our token wasn't revoked remotely.
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