Quick Google Auth Setup for PromptNow
Your Callback URL
https://standing-bird-371.convex.site/api/auth/callback/googleSetup Steps
-
Go to Google Cloud Console: https://console.cloud.google.com/
-
Create OAuth Credentials:
- Create new project or select existing
- Go to "APIs & Services" > "Credentials"
- Click "Create Credentials" > "OAuth client ID"
- Application type: Web application
- Add Authorized redirect URI:
https://standing-bird-371.convex.site/api/auth/callback/google
-
Set Environment Variables:
cd tools/convex npx convex env set AUTH_GOOGLE_ID "your-client-id-here" npx convex env set AUTH_GOOGLE_SECRET "your-client-secret-here" -
Test:
- Restart your dev server
- Go to login page
- Click Google button
That's it! Google auth should now work.