mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	
		
			
	
	
		
			94 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			94 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
|   | # 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
 | ||
|  | 
 | ||
|  | * **Go to [Create Google Cloud Account](https://console.cloud.google.com)** | ||
|  | 
 | ||
|  | * **Click on `Create Project`** | ||
|  | 
 | ||
|  | ## 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.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **Click `Create`.** | ||
|  | 
 | ||
|  | ## Step 3: How to configure OAuth consent
 | ||
|  | 
 | ||
|  | * **Click on the `OAuth Consent Screen` available on the left-hand side panel.** | ||
|  | 
 | ||
|  | * **Provide the User Type.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **Once the user type is selected, provide the `App Information` and other details. Only providing the required details will do the work.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **Click `Save and Continue`.** | ||
|  | 
 | ||
|  | * **On the `Scopes Screen`, Click `Save and Continue`.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **Click on `Back to Dashboard`.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **You are now done.** | ||
|  | 
 | ||
|  |  | ||
|  | 
 | ||
|  | ## Step 4: Create credentials for the project:
 | ||
|  | 
 | ||
|  | * **Once the OAuth Consent is configured, Click on `Credentials` available on the left-hand side panel.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **Click on `Create Credentials`.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **Select `OAuth client ID` from the dropdown.** | ||
|  | 
 | ||
|  | * **Once selected, you will be asked to select the `Application Type`.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **After selecting the `Application Type`, name your project and give the authorized URIs(Optional).** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **Click `Create`.** | ||
|  | 
 | ||
|  | * **You will get the credentials.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | ## 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.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | * **You will find the `client Id` and `client secret` in the top right corner.** | ||
|  | 
 | ||
|  |  | ||
|  | **** | ||
|  | 
 | ||
|  | ## 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.** | ||
|  | 
 | ||
|  | 
 | ||
|  |  | ||
|  | **** |