# Let users log in with Google

> Create a Google OAuth client, paste its Client ID and Client Secret into User Settings, and add Google buttons to your Login and Signup components.

Source: https://tadabase.com/docs/users-security/single-sign-on-with-google  
Status: Verified Nov 17, 2026. Checked against the current product

Let your app's users sign up and log in with their Google account. You create an OAuth client in the Google Cloud console, paste its keys into your app's Google settings, and add the Google buttons to your Login and Signup components.

## 1. Turn on Google and copy the callback URL

1. **Open User Settings** In the builder, open **Settings** > **User Settings**, **General** tab.
2. **Turn on Google** Under **Login/Signup Methods**, click the Google icon. The **Google** card opens with **Client ID**, **Client Secret**, **Domain Restrictions** and **Callback URL**.
3. **Copy the callback URL** Click **Copy** next to **Callback URL**. You paste it into Google in the next part.

![The Google card in User Settings showing the Client ID and Client Secret fields and the Callback URL with its Copy link](https://tadabase.com/docs-shots/users-security-sso-google-callback.webp)

## 2. Set up the OAuth consent screen in Google

1. **Open the Google Cloud console** Sign in to the Google Cloud console and choose (or create) the project to use for your app's sign-in.
2. **Configure the consent screen** Open the OAuth consent screen settings and enter your app's name, a support email and, if you like, a logo. Users see these details when they sign in.
3. **Choose who can sign in** Choose **Internal** if only people in your own Google Workspace organization will use the app. Choose **External** for anyone with a Google account.

> **External apps start in testing:** While an External app is in testing, only the Google accounts you add as test users can sign in. Add yourself as a test user, check that sign-in works, and then publish the app in Google so everyone else can use it.

## 3. Create the OAuth client ID

1. **Create credentials** In the Google Cloud console, open the credentials page and create a new OAuth client ID.
2. **Choose Web application** Set the application type to Web application and give it any name.
3. **Add the redirect URI** Under authorized redirect URIs, add the **Callback URL** you copied from Tadabase. It must match exactly.
4. **Copy the keys** Create the client. Google shows a client ID and a client secret; keep them for the next part.

## 4. Paste the keys into Tadabase

1. **Fill in the Google card** Back in **User Settings**, paste the client ID into **Client ID** and the client secret into **Client Secret**.
2. **Limit domains (optional)** To allow only your company's Google accounts, list the domains in **Domain Restrictions**, separated by commas.
3. **Link existing users (optional)** Turn on **Allow auto link to existing account** if some users already have a password login with the same email address, so their first Google sign-in logs them in to that user.
4. **Save** Save your changes.

## 5. Add the Google buttons

Add **Login With Google (SSO)** to your Login component and **Signup With Google (SSO)** to your Signup component. A user signs up with Google once; after that, the Login button logs them in. The full steps, and what happens on a first sign-in, are in [Let users log in with single sign-on](https://tadabase.com/docs/users-security/single-sign-on-sso#set-up-a-provider).

If you copy this app, the copy has its own callback URL. Add it to the same Google client's redirect URIs: see [SSO on copied apps](https://tadabase.com/docs/users-security/single-sign-on-sso#sso-on-copied-apps).
