You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix OAuth authentication error on initial page load (#213)
Modified GitHub middleware to only apply authentication to API routes.
This allows users to access the login page without encountering
"GitHub token is required" errors.
- Skip authentication for non-API routes (/, /auth/*, static assets)
- Preserve authentication requirements for all /api/* endpoints
- Enable proper OAuth flow for new users
Resolves the catch-22 where users couldn't authenticate because
they couldn't access the authentication page.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <[email protected]>
0 commit comments