Home
Back to docs
Site Settings

How do I let customers sign in with Google?

Register the site's redirect addresses in Google, then enter the client ID and secret.

You will have turned on Google sign-in for the customer portal.

Before you start

You need the Manage domains and credentials permission and a Google Cloud project where you can create an OAuth client.

Steps

  1. Open Site Settings and choose Customer accounts.
  2. In Customer sign-in, copy the redirect address listed for each active domain.
  3. In your Google Cloud project, create an OAuth client and add every one of those addresses as an authorized redirect address.
  4. Back on the page, enter the client ID and client secret from Google.
  5. Type true in Enabled, then save.

What you will see

The section shows "Configured" and customers can sign in with Google on the portal.

If something goes wrong

  • Google matches redirect addresses exactly. After adding a domain, register its new address in Google too, or sign-in fails at Google with no sign of it here.
  • All three fields are required each time you save.
  • Removing the credentials is guarded: if customers have signed in with Google you must acknowledge how many would be locked out.
  • This is for customers signing in. Social OAuth on the Social tab is for publishing and is separate.

Last updated: