Add a "Trouble logging in?" link on the homepage that allows users to clear stale auth credentials without needing to navigate to Settings (which requires authentication).
Problem
When users are stuck in an auth limbo state (stale tokens prevent login but no way to clear them), they have no self-recovery mechanism. The logout button is in Settings, which requires authentication to access.
Changes
File: frontend/src/pages/HomePage.tsx
Add "Trouble logging in?" text link below Login button (both mobile and desktop menus)
On tap: clear IndexedDB auth cache, clear localStorage auth items, reset Auth0 SDK state
Show brief "Session cleared" confirmation feedback
Style: subtle text link for recovery scenarios only
Acceptance Criteria
"Trouble logging in?" link visible on homepage (mobile and desktop)
Clears IndexedDB auth cache and localStorage auth items
Shows confirmation feedback after clearing
After clearing, Login button correctly redirects to Auth0
Relates to #188
## Summary
Add a "Trouble logging in?" link on the homepage that allows users to clear stale auth credentials without needing to navigate to Settings (which requires authentication).
## Problem
When users are stuck in an auth limbo state (stale tokens prevent login but no way to clear them), they have no self-recovery mechanism. The logout button is in Settings, which requires authentication to access.
## Changes
- **File**: `frontend/src/pages/HomePage.tsx`
- Add "Trouble logging in?" text link below Login button (both mobile and desktop menus)
- On tap: clear IndexedDB auth cache, clear localStorage auth items, reset Auth0 SDK state
- Show brief "Session cleared" confirmation feedback
- Style: subtle text link for recovery scenarios only
## Acceptance Criteria
- [ ] "Trouble logging in?" link visible on homepage (mobile and desktop)
- [ ] Clears IndexedDB auth cache and localStorage auth items
- [ ] Shows confirmation feedback after clearing
- [ ] After clearing, Login button correctly redirects to Auth0
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Relates to #188
Summary
Add a "Trouble logging in?" link on the homepage that allows users to clear stale auth credentials without needing to navigate to Settings (which requires authentication).
Problem
When users are stuck in an auth limbo state (stale tokens prevent login but no way to clear them), they have no self-recovery mechanism. The logout button is in Settings, which requires authentication to access.
Changes
frontend/src/pages/HomePage.tsxAcceptance Criteria