Set up Google sign-in for the contacts portal and private forms
Google sign-in lets your contacts log in to your contacts portal and your private forms with their Google account, instead of waiting for a login email. You set it up in one place for your whole account: switch it on, then choose whether it's offered on private forms, on the contacts portal, or both.
It works straight away with Leat's own Google sign-in. You only need a Google Cloud project of your own if you want your business name and logo, instead of Leat, on the screen Google shows when a contact signs in.
Switch it on
Only admins can do this.
- Click the settings icon and select Login provider under Account.
- In the Google section, click Edit.
- Turn on Enable Google sign-in.
- Choose where contacts can use it:
- Enable for private forms authentication adds the button to every private form.
- Enable for Contacts portal sign-in adds it to the portal's login and sign-up pages.
- Under Google sign-in branding, leave Use Leat's Google sign-in selected. No further setup is needed.
- Click Save changes.
The section then sums up your setup, for example: Google sign-in is enabled, Enabled for private forms, Enabled for Contacts portal, and a Leat-branded sign-in screen.
Contacts then see a Google button on the places you chose. On the contacts portal it says Sign in with Google. On a private form it says Sign up with Google or Continue with Google, depending on the form's layout. The setting applies to all your private forms at once; there's no separate switch per form anymore. Public forms never show the button.
Change how the button looks
The button style is set in the editors, under styling. Changes there save straight away, without the editor's save button.
Contacts portal
- Go to Apps → Contacts portal and click Edit contact portal.
- Open Styling and select Google sign-in button.
- Pick a Button style.
Private form
- Go to CRM → Forms and open the private form.
- Open Styling and select Google sign-in button.
- Pick a Button style.
The Google sign-in button option only appears once Google sign-in is switched on for your account. If it's switched on for your account but not for that place, the panel says so and links you to Login provider.
On the login page of the portal editor and on the authentication step of a form, you'll also see whether Google authentication is enabled there, with a link to the settings to change it.
Use your own Google sign-in
With your own Google credentials, Google's sign-in screen shows your business name and logo instead of Leat's. You need a Google account to create a Google Cloud project. A free one is enough, and Google Workspace isn't required.
First, get the redirect URI from Leat:
- Go to Login provider and click Edit in the Google section.
- Make sure Enable Google sign-in is on, and select Use your own Google sign-in under Google sign-in branding.
- Copy the Redirect URI that appears. Keep this page open.
Then create the client in Google:
- Go to console.cloud.google.com and sign in.
- Create a new project, for example "Your Company - Login", and select it.
- Search for Google Auth Platform and open it.
- Under Branding, click Get Started and fill in the app name, user support email, application home page, privacy policy URL, terms of service URL and authorised domain. The app name is what contacts see when they sign in.
- Under Audience, click Get Started and choose External, unless every contact signing in belongs to your own Google Workspace organisation.
- Under Clients, click Create client and choose Web application as the application type.
- Under Authorised redirect URIs, add the Redirect URI you copied from Leat.
- Click Create. Google shows you a client ID and a client secret.
Finally, back in Leat:
- Paste the client ID into Client ID and the client secret into Client Secret.
- Click Save changes. It only works once both fields are filled in.
The summary now shows a Custom-branded sign-in screen. Keep your client secret private. Don't share it or send it by email.
View, replace or remove your credentials
On Login provider, click Show credentials in the Google section. The panel shows your Redirect URI and Client ID, both with a copy button. The client secret is never shown again after you save it.
To go back to Leat's sign-in screen, click Remove credentials in that panel, then Remove credentials again in the confirmation. Contacts can still sign in with Google straight away; they just see Leat instead of your business on Google's sign-in screen. You can also do this by clicking Edit and switching to Use Leat's Google sign-in.
You can't change saved credentials in place: once they're saved, the Client ID and Client Secret fields no longer show. To switch to another Google client, remove your credentials first, then add the new ones.
When it doesn't work
- There's no Google sign-in button option in the editor. Google sign-in isn't switched on for your account yet, or the form is public. Public forms don't offer it.
- The button doesn't show on the portal or on private forms. Check on Login provider that it's enabled for that place: the summary shows Enabled or Disabled for private forms and for the Contacts portal separately.
- Google says the redirect URI doesn't match. The URI in your Google client has to be exactly the Redirect URI from the Login provider page. Copy it again rather than typing it.
- Contacts see Leat on the sign-in screen. You're using Leat's Google sign-in. Switch to your own Google sign-in to show your business instead.