Skip to main content

Aghanim-Google Login Integration

This guide explains how to integrate Aghanim with Google Sign-In to enable users to authenticate using their Google accounts when accessing your game hub.

Requirements

Step 1: Get Your Google OAuth Client ID

If you already have Google OAuth credentials set up for your game application, you can skip the credential creation and simply locate your existing Client ID.

  1. Go to the Google Cloud Console.
  2. Select your project (or create a new one if needed).
  3. Navigate to APIs & ServicesCredentials.
  4. If you need to create new credentials:
    • Click Create CredentialsOAuth 2.0 Client IDs
    • Select Web application as the application type
    • Add your authorized redirect URIs:
      https://<GAME_HUB_DOMAIN>/oauth2/google/callback
      Replace <GAME_HUB_DOMAIN> with your game hub's domain (e.g., demo.aghanim.com)
  5. Copy the Client ID for use in the next step.
Google Login
Google Login

Step 2: Configure the Integration in Aghanim

  1. Go to the Aghanim Dashboard → Aghanim ConnectGoogle Login.
  2. Fill in Client ID – your Google OAuth Client ID from the previous step.
  3. Click the Install button to enable the integration.
Google Login
Google Login

Step 3: Configure the Login Method on the Game Hub

  1. Navigate to GameSettings in the Aghanim dashboard.
  2. Under Game hub login look & feel, click the Login methods dropdown.
  3. Select Google from the list of login options.
  4. Click Save changes.
Google Login
Google Login

Step 4: Set Up Player Verification

Set up player verification by following the Social Authentication guide.

Once configured, users will be able to sign in to your hub using their Google account credentials.

Need help?
Contact our integration team at integration@aghanim.com