Skip to main content
Google login lets customers sign in with their Google account.

Create the Google client

1

Open Google Cloud Console

Go to the Google Cloud Console, choose or create a project, and open the OAuth consent screen. Fill it in with your site name and contact email.
2

Create the credentials

Create an OAuth client ID for a web application. Copy the Redirect URL from Backend Settings → Auth Settings → Google and add it as an authorised redirect URI.
3

Copy the keys

Copy the Client ID and the Client Secret.

Save the keys in MagicBook

Open Backend Settings → Auth Settings, turn on Login via Social (oAuth) and Enable Google Login, paste the Google Client ID and Google Client Secret, then press Save. The sign-in page then shows a Google button.
The redirect URI must match the Redirect URL exactly, including the https:// and the domain. Google refuses to sign people in if they differ.