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
- 
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 Screenavailable on the left-hand side panel.
- 
Provide the User Type. 
- Once the user type is selected, provide the App Informationand other details. Only providing the required details will do the work.
- 
Click Save and Continue.
- 
On the Scopes Screen, ClickSave 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 Credentialsavailable on the left-hand side panel.
- Click on Create Credentials.
- 
Select OAuth client IDfrom 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 Credentialslike in Step 4.
- 
Click on the pencil icon (Edit OAuth Client) of the right side of the screen. 
- You will find the client Idandclient secretin the top right corner.
Step 6: Adding the details in Catalog.yaml
- Once the Client IdandClient secretis generated. Add theClient Idin catalog-security.yaml file inclient_idfield.
 
			












