# OAuth authentication flow

<figure><img src="https://627748108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0shDrJltbdGiCRz6ip4Z%2Fuploads%2FUsNLO0tsEeK8MZJS6pQx%2Fgoogleworkspace.png?alt=media&#x26;token=262755d9-52af-4d3e-922d-970d9153ba0b" alt=""><figcaption></figcaption></figure>

UMA provides an easy and secure way to get connected to your Google Workspace tenant using OAuth2.0 and OpenID Connect.&#x20;

Shown below is the authentication process that UMA uses using OAuth2.0 and Open ID connect:

<figure><img src="https://627748108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0shDrJltbdGiCRz6ip4Z%2Fuploads%2F4uxSU8JvJRdksSweu2Jf%2Fgoogle.PNG?alt=media&#x26;token=7a6eadd2-685f-4536-ba69-87360ac63b4f" alt=""><figcaption></figcaption></figure>

For more information on OAuth and OpenID Connect, follow the documentation below:

{% embed url="<https://developers.google.com/identity/openid-connect/openid-connect>" %}


---

# 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://support.meetuma.ai/uma-knowledgebase/integrations/calendar/google-workspace/oauth-authentication-flow.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.
