Configure Google for OAuth 2 SSO

This guide is intended for Admins setting up OAuth 2 SSO with Google.

When you configure Single Sign-on (SSO) with Google, your users will be able to create and sign into their Baserow accounts using Google.

If you are looking for information on setting up SSO with other providers:

Instance-wide admin panel, SSO, Payment by invoice, Signup rules, Audit logs are features only available for Baserow paid plans. Get in touch with us here if you’re interested in learning more about paid pricing.

Here’s how to set up OAuth 2 SSO with Google to sign in to your Baserow account.

Set up OAuth 2 SSO with Google

Sign in or create a Google account then sign into Google Cloud Console at https://console.cloud.google.com/.

Create a new project or select an existing project in your organization:

enter image description here

Go to API & Services → Credentials:

enter image description here

Next, log in to Baserow. Go to the Admin > Authentication > Provider. Retrieve your Callback URL from your Baserow admin settings modal, following the steps in this guide.

Create a new credential for OAuth Client ID. A client ID is used to identify a single app to Google’s OAuth servers.

  • Choose Web application as the Application type.
  • Fill in Name.
  • Add a URI under Authorized redirect URIs. This is the Baserow Callback URL you will find in the Baserow Provider Settings where you create or edit the authentication provider.

enter image description here

Click the ‘Create’ button.

Once created, you will be able to obtain Client ID and Client secret:

enter image description here

After you’ve accessed the information from the Credentials, copy and paste the information from Google into Baserow.

Connect Google to your Baserow Account

Head back to Baserow Admin > Authentication > Provider.

Configure Google by inputting the Client ID and secret information into the corresponding fields in your Baserow Admin Dashboard, following the steps in this guide.

enter image description here

You should be able to log in with Google after completing these steps by visiting https://baserow.io/login. Your users will now be taken to a Google sign-in flow when they attempt to log into Baserow. After logging in with their Google credentials, they will be redirected to the app.

enter image description here

If you’re looking for something else, please feel free to make recommendations or ask us questions in our online community —we’re ready to assist you!