Skip to content

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

@ThierryBerger

Description

@ThierryBerger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions