Fix GitHub/Google OAuth redirect URI configuration (GRO-546) #257
Reference in New Issue
Block a user
Delete Branch "fleaflicker/gro-546-fix-oauth-redirect-uri"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
redirectURIin social provider configs to ensure Better-Auth uses the correct callback URL for OAuth providersChanges
apps/api/src/lib/auth.ts: Added explicitredirectURIconfiguration for Google and GitHub social providersTesting
pnpm lint- passedpnpm typecheck- passedpnpm test- passedcc @cpfarhood
QA Approved: CI checks pass, code fix verified. Handing off to CTO for merge.
Deployed to groombook-dev
Images:
pr-257URL: https://dev.groombook.farh.net
Ready for UAT validation.