> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fluz.app/llms.txt
> Use this file to discover all available pages before exploring further.

# 配置 OAuth 应用

在你创建了新的应用小部件后，你需要配置 OAuth 设置，以便该小部件从用户处获取必要的权限。按照以下步骤进行。

* **从开发者控制台导航到“Your apps”**
* **选择要设置的应用**

<img src="https://storage.googleapis.com/fluz-fluz-file-uploads-prod-ricuyxowbwlfprel/documentation/Screenshot%202025-11-05%20at%202.02.46%E2%80%AFPM.png" alt="配置" width="300" />

* **检查“Overview”选项卡是否正确**
  * 添加头像
* **查看权限（Permissions）**
  * 这是将请求用户批准的各个独立 scope 列表。

<img src="https://storage.googleapis.com/fluz-fluz-file-uploads-prod-ricuyxowbwlfprel/documentation/Screenshot%202025-11-05%20at%202.03.06%E2%80%AFPM.png" alt="scope 配置" width="400" class="border" />

* 与其让用户逐一批准每个 scope，本页中选定的任意 scope 都会被归类到顶级标题下，并以该总体标题呈现给用户。若某个 scope 未被勾选，它也将不会出现在最终呈现给用户的审批内容中。

<img src="https://storage.googleapis.com/fluz-fluz-file-uploads-prod-ricuyxowbwlfprel/documentation/Screenshot%202025-11-05%20at%202.04.44%E2%80%AFPM.png" alt="scope 展示" width="400" class="border" />

* **在 OAuth 下提供以下设置：**
  * **Redirect URIs** - 一个公开的 URL，授权服务器可在 OAuth 授权码流程中重定向到该地址。不要在此 URL 中包含任何查询参数。你可以添加任意数量的此类 URI。如果你使用 OAuth 流程生成授权码，在交换该授权码时必须使用相同的回调 URI。

<img src="https://storage.googleapis.com/fluz-fluz-file-uploads-prod-ricuyxowbwlfprel/documentation/Screenshot%202025-11-05%20at%202.03.18%E2%80%AFPM.png" alt="重定向 URI" width="400" />
