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
- A Google Cloud Platform account.
- A project with OAuth 2.0 credentials configured.
- Client ID for your Google OAuth application.
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.
- Go to the Google Cloud Console.
- Select your project (or create a new one if needed).
- Navigate to APIs & Services → Credentials.
- If you need to create new credentials:
- Click Create Credentials → OAuth 2.0 Client IDs
- Select Web application as the application type
- Add your authorized redirect URIs:
Replace
https://<GAME_HUB_DOMAIN>/oauth2/google/callback<GAME_HUB_DOMAIN>with your game hub's domain (e.g.,demo.aghanim.com)
- Copy the Client ID for use in the next step.


Step 2: Configure the Integration in Aghanim
- Go to the Aghanim Dashboard → Aghanim Connect → Google Login.
- Fill in Client ID – your Google OAuth Client ID from the previous step.
- Click the Install button to enable the integration.


Step 3: Configure the Login Method on the Game Hub
- Navigate to Game → Settings in the Aghanim dashboard.
- Under Game hub login look & feel, click the Login methods dropdown.
- Select Google from the list of login options.
- Click Save changes.


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