Skip to content

Commit d2659bb

Browse files
committed
feat(api): scope conflict
1 parent 88c0e65 commit d2659bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/advanced/api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ Accept: application/json
133133

134134
需要在 [OAuth 2 授权](./oauth2/index.md#获取访问令牌) 时请求 `Yggdrasil.PlayerProfiles.Read` 权限。
135135

136+
> [!WARNING] 存在权限冲突
137+
> `Yggdrasil.PlayerProfiles.Select` 权限与 `Yggdrasil.PlayerProfiles.Read` 权限冲突,无法同时申请。
138+
>
139+
> 如同时申请这两个权限,在设备代码流中,LittleSkin 将返回 `invalid_scope` 错误;在授权代码流中,用户正常完成授权,但在请求 API 时可能会返回错误。
140+
136141
::: details 响应说明
137142

138143
以下只是对 OpenAPI 文档的额外补充说明。

0 commit comments

Comments
 (0)