---
title: "Google sign-in for your app"
description: "Let people sign in to your app with Google: create an OAuth client in Google Cloud, paste its credentials into Softr and send email domains to Google."
canonical: "https://docs.softr.io/apps/google-sign-in"
updated: "2026-12-04"
---

# Google sign-in for your app

Google sign-in adds a **Continue with Google** button to your app's sign-in and sign-up pages. People with a Google account get in with one click, and you never hold a password for them.

You set it up in two places. In the Google Cloud console, you create an OAuth client. In Softr, you paste its client ID and secret. Keep both tabs open.

> **Note**
>
> Google sign-in is available on the Pro plan and above. It sits next to the other methods in **Users**, then **Authentication**: [standard sign-in](/apps/standard-sign-in) with email, and [single sign-on](/apps/single-sign-on) with your own identity provider over SAML or OpenID. You can switch on all three at once. See [User authentication](/apps/user-authentication).

## Before you start

You need two things.

- A Google account that can create Cloud projects. Creating a project needs the `resourcemanager.projects.create` permission. Personal Google accounts have it. A work account in a Google Cloud organization often does not, and the **No organization** row in the project picker shows a warning triangle. In that case, ask your Google Cloud administrator to create the project or grant you the permission, then continue from step 2.
- Your app's URL, exactly as visitors see it. Open your published app and copy the address from the browser bar. On a Softr subdomain it is `https://yourapp.softr.app`, with no `www.`. On a [custom domain](/apps/custom-domain), it is the host you connected. Copy the scheme and host only, with no trailing slash and no path.

## Create the OAuth client in Google Cloud

Google Cloud issues the client ID and secret that Softr needs. Follow these steps in the [Google Cloud console](https://console.cloud.google.com).

1. **Create a Google Cloud project**

   In the [Google Cloud console](https://console.cloud.google.com/projectcreate), give the project a name. Google derives a project ID from it, which cannot be changed later. If your account belongs to an organization you also have to pick a **Parent resource**. Select **Create**.

   ![The New Project form with a project name filled in and the Create button below it](/integrations/google-sign-in/create-google-cloud-project.webp)

   _Naming a new project in the Google Cloud console._

   > **Tip**
   >
   > Already have a project for this app? Skip this step and pick it from the project picker in the console's top bar instead.
2. **Name the app people will consent to**

   Go to **Google Auth Platform → Branding**. **App name** and **User support email** are what people see on Google's consent screen the first time they sign in, so use the name of your portal rather than the project ID. Select **Save**.

   ![The App information section of the Branding page, with the app name and user support email fields outlined](/integrations/google-sign-in/branding-app-information.webp)

   _App name and support email on the Branding page._

   > **Note**
   >
   > On a brand-new project, opening Google Auth Platform starts a short **Get started** wizard that asks for the app name, support email, audience and a contact address in one pass. Complete it and you arrive at these pages with the work already done. Google documents the rest of the branding options in [Manage OAuth App Branding](https://support.google.com/cloud/answer/15549049).
3. **Choose who can sign in, and publish the app**

   Open **Audience**. Two settings on this page decide who gets in.

   ![The Audience page showing publishing status Testing and user type External](/integrations/google-sign-in/audience-publishing-status.webp)

   _Publishing status and user type on the Audience page._

   1. **Publishing status.** A new project starts in **Testing**, and while it is in Testing only the Google accounts listed under **Test users** can sign in, up to 100 of them. Select **Publish app** to move it into production.
   2. **User type.** **External** lets anyone with a Google account sign in. **Internal** appears only if your Google account belongs to a Google Workspace organization, and limits sign-in to that organization.

   > **Warning**
   >
   > Leaving the project in **Testing** is the most common reason a correctly configured Google Sign-in still fails: everyone who is not on the test-user list is refused. Publish the app before you point real users at it. Google's [Manage App Audience](https://support.google.com/cloud/answer/15549945) covers the limits in full.

   Note which **User type** you picked. You set the same value on the Softr side.
4. **Create the OAuth client**

   Go to **Clients → Create client**. Set **Application type** to **Web application** and give the client a name. The name is only used to identify the client in the console; nobody signing in ever sees it.

   ![The Create OAuth client ID form with application type set to Web application and a client name entered](/integrations/google-sign-in/create-oauth-client-type.webp)

   _Choosing the Web application client type._
5. **Add your app's URL to both lists**

   Under **Authorized JavaScript origins**, select **Add URI** and paste your app's URL. Then do the same under **Authorized redirect URIs**. Select **Create**.

   ![The two URI lists on the OAuth client form, each holding the app's URL](/integrations/google-sign-in/oauth-client-uris.webp)

   _The same app URL added as a JavaScript origin and a redirect URI._

   > **Note**
   >
   > Match the origin your visitors actually load, character for character. A Softr subdomain has no `www.`: use `https://acme-portal.softr.app`, not `https://www.acme-portal.softr.app`, which does not resolve. On a custom domain, include `www.` only if that is the host people land on.

   > **Tip**
   >
   > Google registers the domains of these URIs as **Authorized domains** on your consent screen automatically, so there is no separate step for that. Changes to a client can take anywhere from five minutes to a few hours to take effect.
6. **Copy the client ID and secret**

   Google shows the new client's ID and secret as soon as it is created. Copy both before you close the panel.

   > **Warning**
   >
   > Google no longer shows a client secret after you create it. The client's page shows only its last four characters. If you lose the secret, open the client and use **Add secret** to issue a new one, then update Softr with the new value.

## Add the credentials to Softr

This part happens in your app in Softr Studio. Use the client ID and secret you copied from Google.

1. **Switch Google Sign-in on**

   In Softr Studio, open your app and go to **Users → Authentication**. Turn on the **Google Sign-in** toggle (1), then select the gear (2) to open its settings.

   ![The Authentication method list with the Google Sign-in toggle switched on and its gear icon beside it](/integrations/google-sign-in/enable-google-sign-in.webp)

   _The Google Sign-in row in the Authentication method list._

   > **Note**
   >
   > An amber dot next to a method means **Setup is incomplete**. The method is on, but its settings are not complete yet. The dot clears once you save the credentials.
2. **Paste the credentials**

   Paste the **Google client ID** and **Google client secret** you copied from the console (1). Then set **User type** (2) to the value you chose on the Audience page.

   ![The Google Sign-in settings dialog showing the client ID and secret fields, the user type control, and the email domains field](/integrations/google-sign-in/google-sign-in-settings.webp)

   _The Google Sign-in settings dialog with Internal selected._
3. **Save and publish**

   Select **Save**, then publish your app so the change reaches the live site. The amber dot beside **Google Sign-in** disappears.

## Settings

The **Google Sign-in settings** dialog has these fields.

| Setting                          | What it does                                                                        |
| -------------------------------- | ----------------------------------------------------------------------------------- |
| **Google client ID**             | The client ID from your OAuth client. Required.                                     |
| **Google client secret**         | The client secret from your OAuth client. Required.                                 |
| **User type**                    | **Internal** or **External**. Set the same type as on the Google **Audience** page. |
| **Google Sign-in email domains** | Shown only when **User type** is **Internal**. Optional. See the next section.      |

**Save** stays off until the client ID and the client secret are both filled in.

### Send email domains to Google

With **Internal** selected, add your company's email domains to **Google Sign-in email domains**. Anyone whose email address is on one of these domains always goes to Google to sign in, even when your app also offers email or SSO. Enter domains such as `softr.io`, and press Enter or Space after each one.

Softr refuses a domain that is already in your SSO email domains and shows which ones clash. Each domain goes to one method.

Choosing **External** hides the field, because an external client accepts any Google account.

![The same dialog with user type set to External and no email domains field beneath it](/integrations/google-sign-in/google-sign-in-settings-external.webp)

_With External selected, the email domains field is not shown._

## What people see

**Continue with Google** appears on both the sign-in and the sign-up page of your app. The first time someone uses it, Google shows a consent screen with the app name and support email you set under **Branding**.

![An app login page with Continue with Google above the SSO button and the email field](/integrations/google-sign-in/continue-with-google.webp)

_The Continue with Google button on a published app's login page._

To see and manage the people who sign in, open the [users list](/apps/users) of your app.

## Troubleshooting

| Problem                                                       | Cause and fix                                                                                                                                                                                                                                                         |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Google refuses the request before showing the account chooser | The URL on the OAuth client does not match the address in the browser. Compare them character by character: `http` or `https`, `www.` or not, and no trailing slash. After you change the client, wait a few minutes. Google says changes can take up to a few hours. |
| Some people can sign in and others cannot                     | Either the Google Cloud project is still in **Testing**, so only the accounts on the test-user list get in, or the **User type** is **Internal** and the refused people are outside your Google Workspace organization. Both settings are on the **Audience** page.   |
| The amber dot beside **Google Sign-in** does not clear        | Softr marks a method **Setup is incomplete** until it has a saved client ID and secret. Reopen the gear and check that both fields are filled and saved.                                                                                                              |
| Only people on certain domains are sent to Google             | The **Google Sign-in email domains** field does this. Clear it if those people should also use email or SSO.                                                                                                                                                          |

## Related

[**User authentication**](/apps/user-authentication)

Every sign-in method your app can offer, who can sign up, and sessions.

[**Single sign-on (SSO)**](/apps/single-sign-on)

SAML and OpenID, for when authentication should sit with your own identity provider.

[**Team and client users**](/apps/team-and-client-users)

How Softr counts the people who sign in to your app.

[**Google: set up OAuth 2.0**](https://support.google.com/cloud/answer/15549257)

Google's own reference for OAuth clients, consent and credentials.

## FAQ

**How does Google sign-in work in Classic apps?**

Classic apps are the older Softr apps, built from blocks before Softr AI. On the current version, Classic apps set up Google sign-in the same way as on this page: turn on **Google Sign-in** in **Users**, then **Authentication**. Classic apps built before February 12, 2025 still use sign-in blocks: first add your Google **Client ID** and **Client Secret** in **Integrations**, then **Google Sign In**. Then turn on **Sign in with Google** in the Signin form block. If you turn on **Only registered users can sign in**, only people who already have an account can sign in with Google. See [Sign-in blocks](/classic/sign-in-blocks#sign-in-with-google).
