Your Google OAuth needs to be configured for your production Vercel domain to work properly.
- Go to Google Cloud Console
- Select your project (or create one if needed)
- Go to "APIs & Services" → "Credentials"
- Click on your OAuth 2.0 Client ID
Add these URLs to "Authorized redirect URIs":
https://dreamforge-3a1ip2x36-kawacukennedys-projects.vercel.app/api/auth/callback/google
https://yourdomain.com/api/auth/callback/google
http://localhost:3000/api/auth/callback/google
Also add these to "Authorized JavaScript origins":
https://dreamforge-3a1ip2x36-kawacukennedys-projects.vercel.app
http://localhost:3000
✅ Client ID: 128185061124-mspn39pe77spcjlijstj0r29rj8fqr5u.apps.googleusercontent.com
✅ Client Secret: Set in Vercel environment variables
✅ Local development: Configured
❌ Production domain: NEEDS TO BE ADDED
- Save the changes in Google Cloud Console
- Wait a few minutes for changes to propagate
- Test the Google OAuth login on your production site
If you still get OAuth errors:
- Check that the redirect URIs match exactly (no trailing slashes)
- Verify the domain is correctly spelled
- Make sure the OAuth consent screen is configured
- Check Vercel logs for specific error messages