Treat the Client Secret like a password. Store it securely. Don’t commit it to Git or put it in frontend code, chat, documentation, or screenshots.
Step 1 · Check what you already have
Go to Project → Cloud → Authentication → Providers → Google to see if a Client ID and Client Secret are already set.
Check the enable switch, Client IDs, and Client Secret (for OAuth).
Step 2 · Create a separate Google Cloud project
In Google Cloud Console, click the project name in the top bar. In the Select a resource dialog, click New project in the upper-right corner. Set a Project name, for example “Enter External OAuth Demo”. For Organization and Parent resource, choose one you can manage. These decide who owns the project, not who can sign in. Click Create, then switch to the new project from the notification.The form may suggest a Project ID as you type. Use your final Project ID when you navigate the console later.
Step 3 · Set up branding
Check that the top bar shows your project name. When Google Auth Platform says not configured yet, click Get started. The wizard has four parts: App Information → Audience → Contact Information → Finish.- In App Information, enter an App name and choose a real, reachable User support email. Click Next.
- In Audience, select External and click Next. Don’t choose Internal, which is only for users inside your Google organization. External is for accounts outside it and creates no Gmail account.
- In Contact Information, enter a real developer email that can receive Google notifications. Press Enter to make it an entry, then click Next.
- In Finish, read the Google API Services User Data Policy, check the agreement box, click Continue, then click Create.
Step 4 · Keep the app in Testing and add a test user
Open Audience in the left navigation. Check that Publishing status is Testing and User type is External. Don’t click Make internal or Publish app.
Check that Publishing status is Testing and User type is External.
Step 5 · Add only three identity scopes
Scopes are permissions requested from Google. Open Data Access and click Add or remove scopes. Select only these three. Don’t select the header checkbox or add Gmail, Drive, BigQuery, or cloud-platform permissions.Step 6 · Create a Web application client
Open Clients → Create client. Set Application type to Web application (not Desktop app). Set Name to something like “Enter External Web Login”. It’s only a label.- Leave Authorized JavaScript origins empty. This setup uses a redirect flow.
- Under Authorized redirect URIs, click Add URI and paste the full callback URL from your project’s own Google Provider page in Enter. Include the scheme, host, and path ending in
/auth/v1/callback. Don’t use your website’s homepage. - Leave Use this client for an AI-powered agent unchecked.
- Click Create.

Check the Web application type, empty JavaScript origins, and the redirect URI.
Step 7 · Copy the Client ID and Client Secret
In the OAuth client created dialog, use the copy button next to Client ID and Client secret, or click Download JSON for both.Save the secret before you close the dialog. Google shows the full secret only once. Afterwards only the last four characters show, and the original can’t be recovered.
Step 8 · Add the credentials to Enter and test
- Go back to Project → Cloud → Authentication → Providers → Google, or use the dialog from “Help me integrate Google sign-in.”
- Enter the Client ID in Client IDs and the matching secret in Client Secret. Save the configuration.
- Test the full Google sign-in flow in your app before you share it.
Setup is done when Enter has the matching credentials saved and Google sign-in works in your app. Keep the secret server-side, never in browser code.
Limitations
- A test user doesn’t block other accounts. With only the
openid,userinfo.email, anduserinfo.profilescopes, Google lets people sign in even if they aren’t on the test-user list. Your app must enforce its own access rules. See Google’s guidance. - This redirect-flow setup leaves Authorized JavaScript origins empty. If you later add browser-side sign-in such as Google Identity Services or One Tap, you may need to set origins.
Troubleshooting
I lost the Client Secret, or closed the dialog before copying it
I lost the Client Secret, or closed the dialog before copying it
Google shows the full secret only once. In Google Cloud Console, go to Google Auth Platform → Clients and open your Web application client. Choose Add Secret, copy or download the new secret right away, and update Enter.
My three scopes are not listed after I added them
My three scopes are not listed after I added them
Click Update, then click Save on the main page.
I am not sure the callback URL is right
I am not sure the callback URL is right
Use the full callback URL from your project’s Google Provider page in Enter under Authorized redirect URIs, not your website’s homepage.
Common questions
Which Google scopes should I request for this setup?
Which Google scopes should I request for this setup?
Request only
openid, https://www.googleapis.com/auth/userinfo.email, and https://www.googleapis.com/auth/userinfo.profile. Leave sensitive and restricted scopes unselected.Where should I store the Google Client Secret?
Where should I store the Google Client Secret?
Save it only in Enter’s Google Provider settings and a secure place authorized people can access. Never put it in Git, frontend code, project chat, documentation, or screenshots.
Does the Google test-user list restrict access to my app?
Does the Google test-user list restrict access to my app?
No. With the three identity scopes on this page, accounts outside the test-user list can still sign in, so your app must enforce its own access rules.
Keep going
Next: Publish your site
Publish so visitors can use sign-in.
Publish so visitors can use sign-in.
Add and protect Cloud secrets
Keep other private keys safe.
Create, manage, and delete an Enter Cloud instance
Manage the Cloud instance behind your app.
Make your app multilingual
Add more languages to your app.
