Skip to content

Configure GCP OAuth redirect URI for prod Google sign-in #100

Description

@RikepilB

Problem

Prod Google sign-in fails with redirect_uri_mismatch. App-side config is correct (verified via curl: client_id and redirect_uri sent properly). The OAuth client in GCP does not list the prod URLs.

Action (user, console — no code, no redeploy)

GCP Console → APIs & Services → Credentials → OAuth client 479313132723-9f4e…:

  • Authorized JavaScript origins: add https://scoutlane.vercel.app
  • Authorized redirect URIs: add https://scoutlane.vercel.app/api/auth/callback/google
  • Save, wait ~5 min for propagation.

Acceptance

  • Origin + redirect URI added in GCP
  • Prod sign-in completes → lands on /admin, user upserted with org
  • No redirect_uri_mismatch

Notes

Only remaining prod sign-in blocker. Ping the agent to re-verify via curl/Playwright after saving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    user-actionRequires user/console action, not code

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions