# OIDC with Google Workspace

{% hint style="info" %}
This process can only be fully achieved in collaboration with our team.&#x20;

Exact instructions are provided in the impacted sections below where this exchange of information is required.
{% endhint %}

## Create new OAuth 2.0 Credentials

1. Sign in to your Google Cloud Console - <https://console.cloud.google.com/>
2. On the sidebar, navigate to **API and Services -> Credentials**

<figure><img src="https://1179008450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1eBCWu9rFSzq3ahnNrmL%2Fuploads%2FGPyAF6gspKds5gYIMUCA%2Fimage.png?alt=media&#x26;token=39176888-9f9c-41f7-b744-5b60eebe45cd" alt=""><figcaption></figcaption></figure>

3. On the main view, click **+ Create Credentials -> OAuth Client ID.**

<figure><img src="https://1179008450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1eBCWu9rFSzq3ahnNrmL%2Fuploads%2FfqATosKSrNSFlhsIshgs%2Fimage.png?alt=media&#x26;token=c3aa30fb-d9d9-452d-999d-43cbfcdafde8" alt=""><figcaption></figcaption></figure>

4. Under **Application Type**, select `Web application`

<figure><img src="https://1179008450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1eBCWu9rFSzq3ahnNrmL%2Fuploads%2F4E2kSqU4mwdQR1euapUk%2Fimage.png?alt=media&#x26;token=8264736b-43d3-4a21-8505-4f7e5df5d12f" alt=""><figcaption></figcaption></figure>

5. Choose a name for the credentials (that name will appear on your **OAuth 2.0 Client IDs**)
6. Under **Authorized redirect URIs,** click `+ ADD URI`
7. For URI, insert: [https://auth.rely.io/login/callback](https://dev.auth.rely.io/login/callback)&#x20;
8. Click **Create**

<figure><img src="https://1179008450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1eBCWu9rFSzq3ahnNrmL%2Fuploads%2FZIpRxOux8VU5DgguQXRX%2Fimage.png?alt=media&#x26;token=3ef8165a-ed3f-4611-b992-9c24372da682" alt=""><figcaption></figcaption></figure>

### Get Client ID to share with Rely.

The next step is to retrieve the **Client ID**. This ID is the unique identifier of your Google Workspace app and is required for Rely to establish an SSO connection.&#x20;

{% hint style="info" %}
You can share the data using one of our dedicated channels:

* Direct outreach to your dedicated Customer Success Manager
* In Slack via your Dedicated Channel (for Enterprise customers)
* Via your in-product chatbot
* Via email to <support@rely.io>
  {% endhint %}

1. On the sidebar, navigate to **API and Services -> Credentials**
2. Under **OAuth 2.0 Client IDs,** find the previously created credentials&#x20;

<figure><img src="https://1179008450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1eBCWu9rFSzq3ahnNrmL%2Fuploads%2F88DA3JAdCxeDF86nwjcA%2Fimage.png?alt=media&#x26;token=c9f2d500-5ef9-4757-8b20-9d36fefbc2d6" alt=""><figcaption></figcaption></figure>

3. Copy the **Client ID** and share it with Rely.

<figure><img src="https://1179008450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1eBCWu9rFSzq3ahnNrmL%2Fuploads%2FEZcoBfCdtrrJNfUU2iBK%2FScreenshot%202024-10-08%20at%2015.43.22.png?alt=media&#x26;token=77058b19-5027-4b82-8589-27acaf74163e" alt=""><figcaption></figcaption></figure>

There you go! You can now use OIDC Single Sign-on with Google Workspace and Rely.io.<br>
