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

enhancement(auth): improve token refresh error handling #317

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iam-Akshat
Copy link

@iam-Akshat iam-Akshat commented Jan 26, 2025

Add comprehensive error handling for token refresh in the authentication flow:

  • Catch and log token refresh errors
  • Add new error code for refresh token failures
  • Update ensureAuth to handle refresh token errors by restarting auth flow
  • Add test coverage for token refresh failure scenario

Addresses #282 duplicate of #253

Add comprehensive error handling for token refresh in the authentication flow:
- Catch and log token refresh errors
- Add new error code for refresh token failures
- Update `ensureAuth` to handle refresh token errors by restarting auth flow
- Add test coverage for token refresh failure scenario
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.

2 participants