How to create a Google App Project
To configure a Google social account, go to the Configuration section, enable the Google account, and fill in all required fields.
-
Open the Google Cloud Console and create a new project. Set the project name to
Google Social Login. -
Create a new External OAuth consent screen.
To do this, start creating a new OAuth Client ID under APIs & Services -> Credentials and click Configure consent screen. Also on the app registration page, fill in the following details:- App name
- User support email
- Application home page
- Application privacy policy link
- Application terms of service link
- Product domain and developer Email address
Then, save your changes.
-
Add new scopes for your project. You need to include the following scopes:
/auth/userinfo.email/auth/userinfo.profileopenid.
-
Return to your project dashboard, go to APIs & Services -> Credentials, and create a new OAuth Client ID. Set the Application type to Web application.
-
Add Authorized redirect URIs.
You can find the required value in the Redirect URI field in the Social Login extension configuration. -
After saving project changes, you will get your Consumer Key (API Key) and Consumer Secret (API Secret). Copy these keys and paste them into the corresponding fields in the Google social service settings to complete the configuration of your Google App Project.