Skip to main content

Configuring Google Social Connection in Production

Step 1: Create Google OAuth Credentials

  1. Go to the Google Cloud Console.
  2. Navigate to APIs & Services > Credentials.
  3. Click Create Credentials > OAuth 2.0 Client ID.
  4. Select Web Application as the application type.
  5. Set the Authorized redirect URI to:
    https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
  6. Click Create, then copy the Client ID and Client Secret.

Step 2: Configure Google in AuthAction

  1. Sign in to the AuthAction Dashboard.
  2. Navigate to Connections > Social Connections.
  3. Select Google from the available providers.
  4. Enter the Client ID and Client Secret obtained from Google.
  5. Click Save.

Step 3: Enable Google Connection for Application

  1. Navigate to Applications in the AuthAction Dashboard.
  2. Select the application you want to enable Google authentication for.
  3. Enable the Google Social Connection toggle.
  4. Save the changes.
  5. Visit the application's login page and verify that the Sign in with Google option is available.

Step 4: Test the Integration

  1. Open your application's login page.
  2. Click on Sign in with Google.
  3. Authenticate using a Google account.
  4. Verify that the user is successfully redirected back to your application.

Your application is now configured to allow users to log in using Google in production.