Google Authentication guide

  1. To integrate with Google you first need to create an OAuth 2.0 client ID. Please see the tutorial.
    1. Open the following link and log in with your account. 

      First, you need to create a project by pressing the “Create” button:

      Type your project name and choose your organization:


    2. Go to Credentials menu => OAuth consent screen tab. Type the application name and the authorized domain and click the “Save” button.


    3. Go to the “Credentials” tab and create an OAuth client ID.

    4. Select “Web Application” and fill the required fields. Click the “Create” button.


    5. Save clientID and client secret if you need it (this credentials can be accessed at any time).

    6. Now enable the admin SDK API. Go to Dashboard menu and click the “Enable APIs and services” button.

    7. Type “Admin SDK” in the search field and chose “Admin SDK”.


    8. Click “Enable” button to enable this API.


    9. Go back to OAuth consent screen and add “scope” .

      Click the “Add scope” button:

      Add scope:

      And click “Save” button on OAuth consent screen:

    10. If you want to make your application public you need to verify it
  2. Umbraco settings
    1. G Suite users synchronization:

      Go to the “Settings” section => “Sync” tab and type:

      1. Client id - Your client Id.
      2. Client secret - Your client secret.
      3. Domain - your G Suite domain (from which users will be fetched).
      4. Some kind of unique key (to skip google verification each time you press “Sync” button with the same credentials).

    2. Google authentication:

      To enable google login functionality you need to set a few options in web config file:

      1. Google.OAuth.Enabled: set to “true” if you want to enable Google authentication.
      2. Google.OAuth.ClientId: type here your client id (it can be the same client id which was used for G Suite synchronization)
      3. Google.OAuth.Domain: specify domain if you want that only users with specific domain can access to uintra using Google authentication.
  1. <add key="Google.OAuth.Enabled" value="true"/>
  2. <add key="Google.OAuth.ClientID" value="[your client id]"/>
  3. <add key="Google.OAuth.Domain" value="[your domain]"/>