2021-08-01 14:27:44 -07:00
|
|
|
# Create Server Credentials
|
|
|
|
|
|
|
|
## Step 1: Create the account
|
|
|
|
|
|
|
|
* Go to [Create Google Cloud Account](https://console.cloud.google.com)
|
2021-10-15 03:51:13 +05:30
|
|
|
* Click on `Create Project`
|
2021-08-01 14:27:44 -07:00
|
|
|
|
2021-11-13 23:03:20 +05:30
|
|
|
 (2) (2) (2) (2) (3) (1) (3).png>)
|
2021-08-01 14:27:44 -07:00
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
* Click **Create**.
|
|
|
|
|
|
|
|
## Step 3: How to configure OAuth consent
|
|
|
|
|
2021-08-12 21:14:42 +00:00
|
|
|
* Select the project you created above and click on **APIs & Services** on the left-side panel.
|
2021-08-01 14:27:44 -07:00
|
|
|
|
2021-11-13 23:03:20 +05:30
|
|
|

|
2021-08-01 14:27:44 -07:00
|
|
|
|
|
|
|
* 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**
|
|
|
|
|
|
|
|

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

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

|
|
|
|
|
|
|
|
* Click **Save and Continue.**
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
* Click on **Back to Dashboard**.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## 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.
|
2021-08-12 21:14:42 +00:00
|
|
|
* Once selected, you will be asked to select the **Application type**. Select **Web application**
|
2021-08-01 14:27:44 -07:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
* After selecting the **Application Type**, name your project and give the authorized URIs
|
|
|
|
|
2021-11-13 23:03:20 +05:30
|
|
|

|
2021-08-01 14:27:44 -07:00
|
|
|
|
|
|
|
* Click **Create**
|
|
|
|
* You will get the credentials
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Step 5: Where to find the credentials
|
|
|
|
|
|
|
|
* Go to **Credentials**
|
2021-10-15 03:51:13 +05:30
|
|
|
* Click on the **pencil icon (Edit OAuth Client)** on the right side of the screen
|
2021-08-01 14:27:44 -07:00
|
|
|
|
|
|
|

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

|