Quick Google Auth Setup for PromptNow

Your Callback URL

https://standing-bird-371.convex.site/api/auth/callback/google

Setup Steps

  1. Go to Google Cloud Console: https://console.cloud.google.com/

  2. 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
  3. 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"
  4. Test:

    • Restart your dev server
    • Go to login page
    • Click Google button

That's it! Google auth should now work.

On this page