Skip to content

🐛 Bug - Token Expiry Handling Issue #1522

@jernejk

Description

@jernejk

Requested by: @jernejk via YakShaver.ai 🦬
cc: @jernejk, @Freego1783, @adamcogan, @zacharykeeping

Hi Team!

  🟥  Watch the video (2 min 26 sec)

  Url from screen share: https://identity.ssw.com.au

Pain

Fix the issue where the token does not refresh correctly upon expiry, causing users to be stuck on an expired authentication page.

Acceptance Criteria

  1. When the token expires, the app should automatically refresh the token without user intervention.
  2. The user should not be stuck on an expired authentication page.
  3. The color of the expired authentication page should be corrected to white.
  4. The issue should not occur multiple times a day as it currently does.

Reproduce Steps

  1. Authenticate and log into the admin page of the ⭐ Rewards mobile app.
  2. Wait for the token to expire.
  3. Observe that the user is redirected to an expired authentication page.
  4. Attempt to refresh the page and note that it remains stuck.
  5. Navigate back and observe that the token refreshes correctly.

Screenshot

Screenshot
Figure: Token refresh fails after expiration, causing logout.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions