Configuring the OAuth server with Google - 7.3

Talend Data Catalog Administration Guide

author
Talend Documentation Team
EnrichVersion
7.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Administration and Monitoring
Data Governance
EnrichPlatform
Talend Data Catalog
In this example, the authorization server is the Google authorization server.

Before you begin

  • As an administrator, you have obtained OAuth 2.0 client credentials from the authorization server.
  • As an administrator, you have configured the authorization server.
  • You have signed in as a user assigned to the Administrators or Security Administrators group.

Procedure

  1. Go to MANAGE > Users.
  2. In the Authentication field of the toolbar, select OAuth from the drop-down list.
  3. Click the Configure authentication icon next to the drop-down list.
  4. In the Connection tab, fill in the following fields.
    Note: In the Scope field, the email profile value indicates that you want to know the user’s email address and basic profile information.
  5. In the User Attribute Mapping tab, map the Google's attributes to the Talend Data Catalog ones.
  6. In the Request Headers tab, click Add header and enter extra parameters to be added in the HTTP requests to the external authentication server.
  7. In the Group Mappings tab, map the group attribute from the external user account to the Talend Data Catalog group name.
  8. Save your changes.

Results

You can log in to Talend Data Catalog through Google.
Below is an example of the data that can be returned in Json.
{ "sub": "110248495921238986420",
					"name": "Aaron Parecki",
					"given_name": "Aaron",
					"family_name": "Parecki",
					"picture": "https://lh4.googleusercontent.com/-kw-iMgD_j34/AAAAAAAAAAI/AAAAAAAAAAc/P1YY91tzesU/photo.jpg",
					"email": "aaron.parecki@okta.com",
					"email_verified": true,
					"locale": "en",
					"hd": "okta.com"
					}
As Google's attributes have been mapped to the Talend Data Catalog ones in User Attribute Mapping, you can see the user information retrieved from Google.