The Google Auth Integration allows your app to authenticate users using their Google accounts. This provides a secure, familiar login experience and simplifies user management.

  1. Go to the Google Cloud Console.
  2. Navigate to APIs & Services → Credentials.
  3. Click Create Credentials → OAuth Client ID.
  4. Select Web Application as the application type.
  5. Add the following Authorized JavaScript Origin:
  6. Set your authorized redirect URIs to match your app environment.
  7. Save the client and copy the following credentials:
    • Client ID: YOUR_GOOGLE_CLIENT_ID
    • Client Secret: YOUR_GOOGLE_CLIENT_SECRET
  1. Go to Integrations → Add Google Auth in your app settings.
  2. Enter your Google Client ID and Google Client Secret.
  3. Save the integration. Your app is now configured to use Google Auth for login.
  • The integration supports multiple environments (development, staging, production). Use environment-specific secrets for the client ID and secret.
  • Google Auth handles token refresh automatically when users log in via OAuth.
  • Users will see a standard Google login screen, ensuring familiarity and trust.
  • Ensure your app domain matches the authorized JavaScript origin and redirect URIs; otherwise, authentication will fail.

Built with Reflex