This article explains how to set up Google SSO Login for your web store.

In the Google dashboard

Follow the steps below to configure the login in Google’s dashboard:

Create a project in the Google Cloud Platform

  1. Go to the Google Cloud Console and sign in with your Google account.
  2. Click on the project dropdown and select/create the project for which you want to enable Google SSO.
  3. Enable the Google Identity Platform API.
  1. In APIs & Services, go to OAuth consent screen on the left sidebar.
  2. Select your User Type, and then click Create.
  3. Fill in all required fields, such as User support email.
  4. Add your domain to the Authorized domains section if needed.
  5. Click Save and continue until you’ve completed all required steps.

Create OAuth 2.0 client credentials

  1. In APIs & Services, go to Credentials on the left sidebar.
  2. Click the Create credentials dropdown button and select OAuth client ID.
  3. Select Web application as the Application type.
  4. Fill in all required fields, such as the Name of the client.
  5. Add your Authorized JavaScript origins (your web app’s domain) and Authorized redirect URIs (where users will be redirected to after successful authentication).
  6. Click Create to generate the client credentials. Save the Client ID and Client Secret as you’ll need these in your frontend and backend configurations.

In the Publisher Dashboard

Follow the steps below to configure the login in the Publisher Dashboard:
  1. Go to Settings -> Authentication.
  2. Toggle on Google App, and enter your Google ID in the Google App ID field.
  3. The button for logging in with Google will appear in the web store login page.
  4. Once a player selects this method, Google generates a token. Apppcharge sends this token along with other login information to your Authenticate Player API for verification.
  5. Once verified, the player is logged into the web store.