Skip to content

Enterprise Authentication - Google Workspace Setup

7 min read · Updated 4 Nov 2026

This article shows you how to connect Google Workspace to the Astrato enterprise authentication function.


Helpful Links

Redirect users after login - Customize Return to URL

The setup process has several stages, so we’ve listed them here. The instructions for each stage include a Checklist listing any information you need to enter and any information you’ll need to collect to complete the setup. 

  • Google Workspace—The setup begins in the Google Cloud Console, where you’ll need to create or open a Project, add a Google OAuth consent screen for authorization, create authorization Credentials, and enable the APIs you need to use. 

  • Astrato—The integration setup with Astrato is managed in the Google Workspace Setup page, which is located in the Enterprise Connection section of the Administration pages. You’ll need to enter a Connection Name, Google Workspace domain, Client ID,and Client Secret. 

Back to Top

  • Access to the Google Cloud Console for your organization.

  • Your organization name and location.

  • App links - home page, domain, privacy policy, terms of service, authorization provider.

  • The Sign out redirect URL and Scopes are listed on the Setup page for Google Workspace in Astrato. You’ll also need the browser request authentication URL.
    ​

    Google BigQuery identity provider Configuration tab showing the Sign in redirect URI, Sign out redirect URL and the required scopes openid profile email.

  1. In the console’s top bar, click Select a Project to open the project screen

  2. If you’re working from an existing project, select it and click Open.

  3. If you need to work from a new project, click New Project, then enter a project name, and select your organization and location, then click Create.

    Important: The project name and organization cannot be changed.

  4. You’ll be taken to the project Dashboard when the project opens or is created. Click “Go to project settings” to proceed to the next stage. 

Google Cloud Platform dashboard with the project selector open, numbered markers pointing to the project list, New Project and Go to project settings.

Back to Top

Note: You must create a separate consent screen for each project. The Learn panel on the right provides more information about the consent screen. 

  • In the project settings, open the navigation menu (the top left button on the screen).

  • Click on APIs and Services

  • Select OAuth Consent Screen from the dropdown.

    Google Cloud navigation menu with APIs & Services expanded and the OAuth consent screen option highlighted in red.

Back to Top

* This step is done once for the whole project when the first Auth client is defined.

Back to Top

​

  • In the new side menu, click on clients and create client.

    Google Auth Platform Clients page with the Create Client button highlighted and no OAuth clients listed.

  • Select Web application as the application type.

    Application type dropdown open with Web application highlighted at the top of the list of client types.

  • Fill in the Additional Information:

    • Name- give the application a name

    • Authorized redirect URIs- paste the URL you gathered in the checklist step.

      Create OAuth client form with type Web application, name Dev Auth, and the Astrato callback URL entered under Authorized redirect URIs.

    • Click Create.

  • Navigate to the Data Access tab in the left menu bar.
    ​

    Google Auth Platform Data Access page with the Add or Remove Scopes button.

  • Click on Add or Remove Scopes

  • Select the openid, email, and profile scopes, then click update.
    ​

    Google’s Update selected scopes panel with the userinfo.email, userinfo.profile and openid scopes ticked.

Back to Top

In this step, we’ll enable the APIs needed for the integration

  • In the dashboard, select APIs & Services and choose Library from the dropdown.

    Google Cloud navigation menu with APIs & Services expanded and the Library option highlighted.

  • When the library screen opens, search for Google Drive.

  • Click Enable to register the API. When the process completes you’ll see a confirmation screen.

  • Repeat steps 3 and 4 for the Google Sheets API.

Back to Top

  • The last step is to obtain the Client Secret and Client ID for setting up the integration in Astrato

  • In the left menu bar, select the Clients option and click on the client created in a previous step.
    ​

    Google Auth Platform left menu with Clients selected and the OAuth 2.0 client named Dev Auth listed.

  • Obtain the Client Secret and Client ID from the next screen.

    Google Cloud Client ID for Web application page showing the Client ID and Client secret, authorized redirect URIs and Save button.

Back to Top

  • Your Google Workspace domain name.

  • The Client ID and Client Secret created in the Google Cloud Console

  • Login to the Astrato site.

  • Navigate to the Google Workspace integration page using

    Administration > Enterprise Connection. On the Login connections tab, select Add connection, then choose Google Workspace under Select a Login provider (Figure 7).

  • The Configuration tab lists the redirect URIs and scopes to register in Google Cloud. Select Continue to Setup when you’re ready.

Astrato Workbooks page with an arrow pointing to Administration in the bottom left of the sidebar.

Figure 7: Google Workspace

On the Setup tab (Figure 8), enter the configuration information:

  1. Connection name - this should be unique.

  2. Google Workspace domain - this should match the domain you entered in the project settings.

  3. Client ID - enter the value generated in Google Cloud.

  4. Client secret - enter the value generated in Google Cloud.

  5. Optionally, select Allow users outside the identity provider domain to sign in without SSO. Owners and Administrators can always sign in without SSO.

  6. Select Create. The new connection appears in the Login connections list and its properties open. It shows as Not enabled until you verify it (see the next section).

Figure 8: Astrato Set Up

Back to Top

A new connection can’t be used to sign in until it is verified. In the connection’s properties, open the Setup tab. Save any changes first, then select Verify connection in the Verification section. A Google sign-in window opens: choose the Google Workspace account you want to use, and keep the window open until verification completes. When Astrato confirms success, the connection shows as Enabled; close the sign-in window if it is still open. If your browser blocks the sign-in window, allow pop-ups for Astrato and select Verify connection again.

If verification fails, the error is shown in the Verification section; correct the provider settings and select Verify connection again.

The recording below (Figure 9) shows the earlier version of this step, which used a One more step required button; choosing the Google account works the same way.

Figure 9: Verify the connection (earlier screen)

Back to Top

If you need to delete the connection, open its properties, go to the Danger zone section at the bottom of the Setup tab, select Delete connection, then select Delete in the confirmation dialog (Figure 10). The connection is removed from the Login connections list; select Add connection to set up a new one. Deleting cannot be undone.

Google Workspace connection page with Connection Name, domain, Client ID and Client secret fields, a Save button and a Delete button in the Danger Zone.

Figure 10: Delete Connection

Back to Top

Once the connection setup is complete, your users will have to login to Astrato through single sign-on (see Test a normal sign-in). Any logins from other locations (e.g. LinkedIn) will return an error.

Back to Top

The Administration articles collection includes articles on enterprise authentication, including an Introduction and setup articles for other integrations. 

Back to Top