Skip to content

refactor(auth): improve token handling and add retry logic - #81

Merged
indrazm merged 1 commit into
devscalelabs:mainfrom
indrazm:feat/admin-refresh-token
Nov 28, 2025
Merged

indrazm merged 1 commit into
devscalelabs:mainfrom
indrazm:feat/admin-refresh-token

Conversation

@indrazm

@indrazm indrazm commented Nov 28, 2025

Copy link
Copy Markdown
Member
  • Extract token clearing logic into reusable clearTokens function
  • Add retry mechanism with exponential backoff for token refresh
  • Handle 401 errors explicitly during token refresh
  • Apply changes consistently across admin and platform apps

- Extract token clearing logic into reusable `clearTokens` function
- Add retry mechanism with exponential backoff for token refresh
- Handle 401 errors explicitly during token refresh
- Apply changes consistently across admin and platform apps
@indrazm
indrazm merged commit 4366f08 into devscalelabs:main Nov 28, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant