# Configure OAuth2

<figure><img src="/files/2x5YNMt3If11OBidNLJJ" alt=""><figcaption></figcaption></figure>

**Name:**

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

**Client ID:**

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

**Client Secret:**&#x20;

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

**Token URL:**

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

**Refresh Token URL:**

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

**Auth URL:**

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

**Scopes:**

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

**Grant Type:**

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

**Action:**

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

**Add OAuth2:**

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

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


---

# 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.aicrisk.com/server-admin/configure-oauth2.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.
