Aghanim-Facebook Login Integration
This guide explains how to integrate Aghanim with Facebook Login to allow users to authenticate using their Facebook accounts when accessing your game hub.
Requirements
- A Facebook Developer Account.
- A registered app on the Meta for Developers Console.
- Client ID for the Facebook app.
Step 1: Get Your Facebook App ID
If you already have a Facebook app set up for your game application, you can skip the app creation and simply locate your existing App ID.
- Go to the Facebook Developers Portal.
- If you need to create a new app:
- Click Create App
- Select Consumer as the app type and click Next
- Enter an app name and contact email, then click Create App
- Under Add a Product, locate Facebook Login and click Set Up
- Choose Web as the platform and add your authorized redirect URIs:
Replace
https://<GAME_HUB_DOMAIN>/oauth2/facebook/callback<GAME_HUB_DOMAIN>with your game hub's domain (e.g.,demo.aghanim.com)
- Copy the App ID (Client ID) for use in the next step.


Step 2: Configure the Integration in Aghanim
- Go to the Aghanim Dashboard → Aghanim Connect → Facebook Login.
- Fill in Client ID – the Facebook App 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 Facebook 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 Facebook account credentials.
Need help?
Contact our integration team at integration@aghanim.com