Google Account Provider
To allow users to sign in with Google:
- Set up and configure a Project on the Google Developers Console
- Activate the Google Account Provider (see Activate an Account Provider)
- Set the configuration parameters on the Google Account Provider
Configure a Google Project
- From the Google Developer Console, log in with your Google account.
- In the Project Name type a unique name for your Project.
- Click Create and wait until the project is created. If you are not redirected to the Project Dashboard, select the project from the drop down list on top of the page.
- On the left side: click Credentials.
- Click "OAuth consent screen" tab.
- In the Application Name type a unique name for your Application.
- In the Authorized domains type theidentityhub.com.
- Click Save.
- Click the Credentials tab.
- Under APIs Credentials click Create credentials and select OAuth client ID.
- For Application type select Web application.
- In the Name type The Identity Hub.
- In the Authorized redirect URIs type https://www.theidentityhub.com/{tenant}/authenticate/processaccountproviderresponse
- Click Create.
- Make a note of the client ID and the client secret.
- On the left side: click Library.
- In Search for APIs & Services type Google+ API.
- Select Google+ API.
- Click ENABLE and wait for API to be enabled.
Specific configuration parameters for the Google Account Provider
Parameter | Description |
---|---|
Client ID | The client id of the Google App created on the Developer Portal (see Configure a Google App) |
Client secret | The app secret of the Google App created on the Developer Portal (see Configure a Google App) |
Default Scopes | The scopes that The Identity Hub will request when a user signs in. (see Default Scopes) |
Extra Scopes | Additional scopes that you want to be requested. Currently this has no further implication. |
Default Scopes
Scope | Description | Required/Optional |
---|---|---|
To retrieve the email address of the user. | Optional | |
profile | To retrieve the user's image and display name. | Required |
Optional scopes can be unchecked. Information related to these scopes will not be available to The Identity Hub.
Related
Amazon Account Provider
Activate an Account Provider
Built-in Username and Password Account Provider
Custom Account Providers
Facebook Account Provider
GitHub Account Provider
Instagram Account Provider
LinkedIn Account Provider
Microsoft Account Provider
myID.be Account Provider
Office 365 Account Provider
OpenID Connect Account Provider
PayPal Account Provider
SAML-P Account Provider
StackExchange Account Provider
Twitter Account Provider
WS-Federation Account Provider