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

fix: improve authentication with token refresh and expiry handling #70

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

Conversation

SpirusNox
Copy link
Collaborator

  • Add token refresh mechanism to automatically renew tokens before expiry
  • Improve error handling for unauthorized API requests
  • Add proper redirect to login page when token expires
  • Implement client-side token validation on app initialization
  • Add consistent session expiration tracking in localStorage
  • Create new token refresh API endpoint

🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com

- Add token refresh mechanism to automatically renew tokens before expiry
- Improve error handling for unauthorized API requests
- Add proper redirect to login page when token expires
- Implement client-side token validation on app initialization
- Add consistent session expiration tracking in localStorage
- Create new token refresh API endpoint

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@SpirusNox SpirusNox requested a review from rishikanthc March 3, 2025 01:25
@SpirusNox SpirusNox linked an issue Mar 3, 2025 that may be closed by this pull request
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.

25-02-2025 app-1 in docker fails to start
1 participant