2022-03-22 11:44:28 -07:00

3.4 KiB

Copy of Create Server Credentials

Step 1: Create the account

Step 2: Create a new project

  • Enter the Project name.
  • 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.
  • Select the project you created above and click on APIs & Services on the left-side panel.

OAuth Consent

  • Click on the OAuth Consent Screen available on the left-hand side panel.
  • Provide the User Type. Chose External if you are testing otherwise chose Internal

Alt text

  • Once the user type is selected, provide the App Information and other details.

Alt text

  • Click Save and Continue.
  • On the Scopes Screen, Click on ADD OR REMOVE SCOPES and select the scopes. Once done click on Update.

Alt text

  • Click Save and Continue.

Alt text

  • Click on Back to Dashboard.

Alt text

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. Select Web application

OAuth Consent

  • After selecting the Application Type, name your project and give the authorized URIs

Create OAuth

  • Click Create
  • You will get the credentials

Alt text

Step 5: Where to find the credentials

  • Go to Credentials
  • Click on the pencil icon (Edit OAuth Client) on the right side of the screen

Alt text

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

Alt text