OpenMetadata/docs/install/Google_Cloud_OAuth_Setup.md
2021-08-01 14:27:44 -07:00

3.7 KiB

How to use google cloud for oauth

This document is all about how to create the Google cloud project and configure it for oauth. It will generate several information which is required to perform a single-signon activity using Google.

Step 1: Create the account

Step 2: Create a new project

  • Enter the Project name. A project name can contain only letters, numbers, single quotes, hyphens, spaces, or exclamation points, and must be between 4 and 30 characters.

  • Enter the parent organization or folder in the Location box. That resource will be the hierarchical parent of the new project.

Alt text


  • Click Create.
  • Click on the OAuth Consent Screen available on the left-hand side panel.

  • Provide the User Type.

Alt text


  • Once the user type is selected, provide the App Information and other details. Only providing the required details will do the work.

Alt text


  • Click Save and Continue.

  • On the Scopes Screen, Click Save and Continue.

Alt text


  • Click on Back to Dashboard.

Alt text


  • You are now done.

Alt text

Step 4: Create credentials for the project:

  • Once the OAuth Consent is configured, Click on Credentials available on the left-hand side panel.

Alt text


  • Click on Create Credentials.

Alt text


  • Select OAuth client ID from the dropdown.

  • Once selected, you will be asked to select the Application Type.

Alt text


  • After selecting the Application Type, name your project and give the authorized URIs(Optional).

Alt text


  • Click Create.

  • You will get the credentials.

Alt text


Step 5: Where to find the credentials

  • Go to Credentials like in Step 4.

  • Click on the pencil icon (Edit OAuth Client) of the right side of the screen.

Alt text


  • You will find the client Id and client secret in the top right corner.

Alt text


Step 6: Adding the details in Catalog.yaml

  • Once the Client Id and Client secret is generated. Add the Client Id in catalog-security.yaml file in client_id field.

Alt text