openhuman
openhuman copied to clipboard
Fix GitHub, Twitter and Google OAuth login flows
Summary
Fix GitHub, Twitter login flows that are currently failing or misconfigured.
Problem
Authentication is currently failing or misconfigured:
- GitHub shows a redirect_uri mismatch / app association error.
- Twitter returns
Twitter OAuth credentials not configured. - Google login should continue to work correctly but needs verification.
Scope
- Reproduce GitHub OAuth login failure end-to-end.
- Fix GitHub OAuth configuration:
- callback URL / redirect URI
- app registration settings
- frontend/backend callback routing
- packaged app vs browser redirect behavior
- Reproduce Twitter login failure end-to-end.
- Configure/fix Twitter OAuth credentials and callback flow.
- Verify Google login works end-to-end and does not regress.
- Add clear error handling/logs for OAuth misconfiguration.
Acceptance Criteria
- GitHub login works successfully in the target environment.
- Twitter login works successfully in the target environment.
- Google login works successfully in the target environment.
- OAuth failures show actionable logs/errors for developers.
- No regressions to session/auth state after successful OAuth login.
Split from #958.
Split into two focused issues:
- #963 — Fix GitHub and Twitter OAuth login — credentials not configured
- #964 — Fix Google OAuth callback URL / redirect URI configuration