# 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="/files/EkHQfp0RaCSbDOFCmcdB" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/bdSZkTxuLw1NMv8CLSZy" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/5qoJ36tTB8gLcamfPNoR" 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="/files/ghiqQhAFVjMGaCalWc28" 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="/files/lxAQlmAihHGlfU6k8t2A" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/Kbqj4Sgo55Q5j2XKgkvk" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rely.io/security-and-compliance/single-sign-on-sso/oidc-with-google-workspace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
