Identity provider - Google OAuth
Last edit: Apr 10, 2020
This guide will help you configure and integrate with Google OAuth.
Requirements
To follow the steps in this tutorial, you should be familiar with Users and Identity Providers. This guide builds on previous tutorials in the Developer Guide: Identity Providers section.
Step 1: Setup OAuth 2.0 in Google
Follow the Setting up OAuth 2.0 tutorial on Google's API Console Help documentation site.
- In Google, on the
Consent ScreensetAuthorized domainsto your Instance domain, for exampleexample.com - In Google, when creating credentials, set
Authorized redirect urltohttps://<YOUR_DOMAIN>/auth/google/callback
Step 2: Configure Partner Portal -> Social Integrations
Copy Client ID as Google Key and Client Secret as Google Secret.
Step 3: Use /auth/google on your Instance
For example, you can add a link to the "Log In / Sign Up" Liquid page that points to /auth/google.