openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Fix GitHub/Twitter/Google login and disable Continue with Email

Open Al629176 opened this issue 7 months ago • 1 comments

Summary

Fix GitHub, Twitter, and Google login flows, but disable the "Continue with Email" button in the login/onboarding UI for now.

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.

However, email-based login should not be available to users right now, so the "Continue with Email" option must be disabled.

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.
  • Disable "Continue with Email" button from visible login/onboarding UI.
  • Ensure disabled email login path does not leave broken routes, dead buttons, or confusing copy.
  • 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.
  • "Continue with Email" is disabled/not usable by users.
  • OAuth failures show actionable logs/errors for developers.
  • No regressions to session/auth state after successful OAuth login.

Al629176 avatar Apr 27 '26 06:04 Al629176

Split into two focused issues:

  • #961 — Fix GitHub, Twitter, and Google OAuth login flows
  • #962 — Disable "Continue with Email" button in login/onboarding UI

graycyrus avatar Apr 27 '26 08:04 graycyrus