Auth Token Refresh Testing
Current Auth State
Authenticated: false
User: None
Has Access Token: false
Has Refresh Token: false
Access Token:
None
Refresh Token:
None
Button Disabled State: true
Test Actions
Testing Instructions
- Make sure you're logged in first (go to /login if needed)
- Test Manual Refresh: Manually calls the refresh endpoint to get new tokens
- Simulate Expired Token: Makes an API call that might trigger a 401 (if backend supports token expiry)
- Corrupt Access Token: Intentionally corrupts your access token to force a 401, which should trigger automatic refresh
- Watch the browser console for detailed logs of the refresh flow
- Open DevTools → Application → Local Storage to see tokens being updated