Using the provided template, you can integrate Google as an Identity Provider. When integrated, a user's Google account credentials and profile data can be used for single sign-on to your applications protected by IDaaS.
Attention: Before you begin, you must have a Google account and an app configured for Google authentication. See https://console.cloud.google.com/.
1. In
IDaaS, click >
Security > Identity Providers. The Identity Providers List page appears.
2. Click Add and select Google from the drop-down list. The Add Identity Provider page appears.
3. Enter a Name for your Identity Provider, for example, Google.
4. Locate the Redirect URI and copy it to a text file. You need this value in Step 2: Add IDaaS to Google.
5. Keep this page open. You need it for Step 4: Add Google as an Identity Provider in IDaaS.
1. Open a web browser window and in the browser bar, enter console.cloud.google.com.
2. If you are not already logged in to Google, enter your Google credentials to log in. The Dashboard page appears.
3. Do one of the following:
If you do not have a Web app created, do the following:
a. Click
> APIs & Services > Credentials.
The Credentials page appears.
b. Click Create Credentials and then select OAuth client ID. The Create OAuth client ID page appears.
c. From the Application Type drop-down list, select Web application.
d. Enter a Name for your application.
e. Under Authorized redirect URIs, click ADD URI and paste the Redirect URI you copied in Step 1: Copy the Redirect URI from IDaaS.
f. Click Create to generate the Client ID and Client Secret.
g. Leave this page open or copy the Client ID and Client Secret to a text file. You need these values for Step 3: Add Google as an Identity Provider in IDaaS.
4. If you already have a Web app that you want to integrate with IDaaS, do the following:
a. Under OAuth 2.0 Client IDs, click the name of the Web app. The Client ID for Web Application page appears.
b. Under Authorized redirect URIs, click ADD URI and paste the Redirect URI you copied in Step 1: Copy the Redirect URI from IDaaS.
c. Click Save.
d. Click
> APIs & Services > Credentials.
The Client ID for Web Application
page appears.
e. Under OAuth 2.0 Client IDs, click the name of the Web app.
f. Leave this page open or copy the Client ID and Client Secret to a text file. You need these values for Step 3: Add Google as an Identity Provider in IDaaS.
1. Return to the IDaaS browser window that you left open in Step 1: Copy the Redirect URI from IDaaS.
2. In the Client ID field, paste the Your Client ID from Google (see Step 2: Add IDaaS to your Google app).
3. In the Client Secret field, paste the Your Client Secret from Google (see Step 2: Add IDaaS to your Google app).
Note: Optional. If a User Info Endpoint is used, then select Require User Info Signature if you want to require signature verification for responses to requests for user information. If this is enabled, then User Info responses must be signed.
4. Enter the Requested information from the Identity Provider.
a. Enter the Scopes. OIDC sends scopes to the Identity Provider to retrieve information.
Associated with each scope are claims. The Identity Provider returns multiple claims based on the requested scopes. The openid scope is mandatory to do authentication or verification.
b. Enter the ID Tokens Claims. Separate each value with a space. Leave this setting blank to omit the feature.
Id token claims requests from the Identity Provider define specific claims that can also be requested for inclusion in the returned id token. This can be used in addition to the requested scopes.
c. Enter the User Information Claims. Separate each value with a space. Leave this setting blank to omit the feature.
User information claims requests from the Identity Provider define specific claims that can also be requested for inclusion in the returned userinfo response. This can be used in addition to the requested scopes.
5. Enter the Auth Method Request values that are used by your Identity Provider. Separate each value with a space. Leave this setting blank to omit this feature.
6. Configure Branding as follows:
a. Enter the Login Button Text. This is the text that appears on the IDaaS log in page.
b. If your Identity Provider has a login button image, enter the URL in the Login Button Image field. The login button appears on the IDaaS log in page.
7. Configure User Management.
a. Select Create User to create the user whose information is returned from the Identity Provider if it does not already exist.
Attention: Create user allows anyone with access to your chosen Identity Provider to create a user in your IDaaS account. Depending on your IDaaS configuration, new users created by your IDP will be able to access all the resources controlled by your IDaaS account. This may be a concern if your Identity Provider has no limits on who can create an account or if it has a large userbase. Analyze the risks before enabling this option.
b. Select Update User (Authentication) to update the IDaaS user to match the Identity Provider during authentication.
If you select Update User (Authentication), the IDaaS system user attributes and any existing IDaaS custom user attributes can be set based on claim mappings. After user authentication, if the user exists in IDaaS, IDaaS compares the attributes of the existing user to the claims returned from the Microsoft Azure AD. If they are different, the IDaaS user attributes are updated with the claim values.
i) The following system attributes are mandatory in IDaaS by default:
– Email: email
– First name: given_name
– Last name: family_name
ii) If they do not exist in your Identity Provider account, you must add them to your user profiles or make them optional in IDaaS. See your Identity Provider documentation for information on how to add a new user or update an existing user profile.
c. Optional. Select Update User (Verification) to update the IDaaS user to match the Identity Provider during Identity Provider verification (if verification is used by the Identity Provider).
If you select Update User (Verification), the IDaaS system user attributes and any existing IDaaS custom user attributes can be set based on claim mappings. After user verification, the IDaaS user attributes are updated with the claim values.
8. Configure Groups and role mapping.
a. Select applicable groups from the Select Group drop-down list to assign created users to groups.
b. In the Group Mapping field, enter the claim containing the group membership for users.
Only existing groups are mapped. If a group is not found, it is not mapped. The mapping does not remove any existing groups. If group mapping is not configured, existing groups remain.
Attention: Group Mapping allows anyone with access to this Identity Provider to have their IDaaS groups include the groups defined by the Identity Provider. Groups set the policies applied to users. Enabling this setting could result in users having access to unexpected policies, especially if the Identity Provider has different user access policies than IDaaS. Analyze the risks before configuring this option.
c. In the Role Mapping field, enter the claim containing the role membership for users.
Only existing roles are mapped. If the role is not found, it is not mapped. The mapping does not remove an existing role. If a role is mapped and is different from the existing role, the existing role is replaced. If role mapping is not configured and if there is an existing role exist, the existing role remains.
Attention: Role Mapping allows anyone with access to this Identity Provider to have their IDaaS account role defined by the Identity Provider, including the super administrator role that has access to all the resources controlled by your IDaaS account. Enabling this setting could result in unexpected access, especially if your Identity Provider has different user access policies than IDaaS. Analyze the risks before configuring this option.
Note: If any system attributes are mandatory, a claim value must be mapped if users are being created. If is a claim value is not mapped, then user creation fails. In addition, claim values must be valid (for example, the Email attribute requires a valid email address). Before mapping claims to attributes, ensure that the claim value exists with your Identity Provider, this includes mandatory custom user attributes.
9. Configure User Authentication as follows:
a. Select Enabled for User Authentication.
During authentication, the Identity Provider returns a claim value that is used to find the IDaaS user based on a user attribute. The attribute mappings in the claim must uniquely identify the IDaaS user for mapping to be successful. If mapped successfully, the Identity Provider can be used as an alternative authentication method.
b. In the Domains field, enter the domains returned from the OIDC Identity Provider after authentication. When set, any user ID ending with the domain (for example user@mycompany.com), or one of the domains is linked to the Identity Provider. Separate each domain with a space.
c. From the drop-down list, select the User Attribute used to identity the user to map a claim returned from the Identity Provider to the IDaaS user (for example, User ID/Alias).
d. Enter the Claim used to identify the user, (for example, email).
Example: If you set User ID/Alias as the user attribute, and you set email as the claim to use, the email address is then used to locate the user in IDaaS using the user's User ID/Alias value.
e. Optional. Configure System User Matching and Custom User Match Mapping.
● Every configured attribute must match the corresponding Identity Provider claim value and the IDaaS user attribute, which must both exist and match.
● User matching is case-insensitive.
10. Optional (if user verification is used with the Identity Provider). Under User Verification, do the following:
a. Select Enable for User Verification if you want the Identity Provider to be used for verification (for example, allowing an Open ID Connect Identity Provider to validate a user's photo or private identification information).
b. Configure at least one User Match Mapping.
– Users must already exist in IDaaS.
– Every configured attribute must match both IDaaS and the Identity Provider.
– User match attributes are case insensitive.
Note: See Manage policies, registration, and verification for more information on the verification process.
11. Click Save.
12. Return to the Google browser window and click Done.