Aghanim-OIDC Login Integration
This guide explains how to integrate Aghanim with any OpenID Connect (OIDC)-compliant identity provider to enable users to authenticate when accessing your game hub. This generic OIDC plugin works with providers such as Keycloak, Auth0, Okta, Azure AD, and any other provider that supports the OIDC standard.
Requirements
- An OIDC-compliant identity provider with a Discovery URL (
.well-known/openid-configuration). - A Client ID registered with your identity provider.
- An Authorization Endpoint for your provider.
Step 1: Get Your OIDC Provider Details
Gather the following details from your identity provider:
- Discovery URL — The URL to your provider's OpenID Connect discovery document (e.g.,
https://your-provider.com/.well-known/openid-configuration). - Authorization Endpoint — The URL where users are redirected to authenticate (e.g.,
https://your-provider.com/authorize). - Client ID — The client identifier registered with your identity provider.
- Scope — The OAuth2 scopes to request (e.g.,
openid profile email). - Add the following Redirect URI in your identity provider's configuration:
Replace
https://<GAME_HUB_DOMAIN>/oauth2/oidc/callback<GAME_HUB_DOMAIN>with your game hub's domain (e.g.,demo.aghanim.com).
Step 2: Configure the Integration in Aghanim
- Go to the Aghanim Dashboard → Aghanim Connect → OIDC Login.
- Fill in the following fields:
- Discovery URL — your provider's OpenID Connect discovery URL.
- Authorization Endpoint — your provider's authorization endpoint.
- Client ID — your registered client identifier.
- Scope — the scopes to request from your provider (e.g.,
openid profile email).
- 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 OIDC 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 OIDC provider credentials.
需要技术支持?
联系我们的集成技术团队: integration@aghanim.com