Skip to main content

How to enable Google authentication

Set up Sign In with Google by creating your API credentials and configuring the OAuth consent screen

Updated over 2 months ago

To enable players to log in using their Google account, you’ll first need to create a Google API client ID and configure your OAuth consent screen.

Step 1: Get your Google Auth credentials

  1. Open the Clients page in the Google Cloud Console and log in (or sign up).

  2. Create a new Cloud Console project.

  3. Click Create client, and for Application type select Web application.

    • To use an existing client ID, select one already listed as type Web application.

  4. Add your website’s URI to Authorised JavaScript origins.

    • Include the scheme and hostname only, e.g. https://www.example.com.

  5. Add your site’s API URI to Authorised redirect URIs:

    • https://api.{YOUR_DOMAIN}/v1/signin/google/verify-pkce

    • Replace {YOUR_DOMAIN} (e.g. example.com).

  6. Click Save at the bottom of the page.

  7. Send both the Client ID and Client Secret to your Account Manager for activation.

💡 Tip: Make sure your website and API URIs use HTTPS and match exactly — mismatches will prevent Google Sign In from working.

Step 2: Configure your OAuth Consent Screen

The OAuth consent screen shows users which application is requesting access and what data will be shared.

  1. Open the Branding page in the Google Auth Platform section of the Cloud Console.

  2. If prompted, select the project you just created.

  3. Fill out the Branding form and click Save.

    • Application name: The name of your casino or platform.

    • Application logo: Shown on the consent screen and in account settings.

    • Support email: Displayed for player support.

    • Authorised domains: Add your website domain (e.g. example.com).

    • Application homepage link: e.g. https://example.com

    • Privacy Policy link: https://example.com/doc/privacy-policy

    • Terms of Service link (optional): https://example.com/doc/general-terms-and-conditions

  4. Go to the Data Access page to configure scopes.

    • Add scopes for authentication: email, profile, and openid.

  5. Click Submit for Verification to finalise the setup.

💡 Tip: Verification may take several days. You can continue testing in unverified mode during setup, but production environments should always be verified.

Did this answer your question?