# 停止 Discord 在每次登录时提示授权

**URL:** <https://meta.discourse.org/t/stop-discord-prompting-for-auth-on-every-login/355494>\
**Category:** Feature\
**Tags:** pr-welcome\
**Created:** [2025年三月3日 17:40 UTC](https://meta.discourse.org/t/stop-discord-prompting-for-auth-on-every-login/355494 "2025-03-03T17:40:04Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2025年三月11日 21:05 UTC](https://meta.discourse.org/t/stop-discord-prompting-for-auth-on-every-login/355494/21 "2025-03-11T21:05:51Z")

</div>

> [@Mako-Poisoned](#):
>
> 即使进行了更改，它仍然会引导您进入 Discord 身份验证页面 - 而这不应该发生（尽管这次您无需手动按“身份验证”）。

[Discord themselves advise the flow to work](https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-authorization-url-example)：

> `prompt` 控制授权流程如何处理现有授权。如果用户先前已使用请求的范围授权了您的应用程序，并且 prompt 设置为 `consent`，它将要求他们重新批准其授权。如果设置为 `none`，它将跳过授权屏幕，并将其重定向回您的重定向 URI，而无需请求其授权。对于 `bot` 和 `webhook.incoming` 等直通范围，始终需要授权。

emphasis:

> 如果设置为 `none`，它将 **跳过授权屏幕**

> [@Mako-Poisoned](#):
>
> 提交包含建议更改的 PR 遗憾的是无法解决问题

_根本不显示_授权屏幕是只有 Discord 自己才能控制的事情；这不是我们（在设置了 `prompt=none` 的情况下）需要修复的问题。

[上一頁](https://meta.discourse.org/t/stop-discord-prompting-for-auth-on-every-login/355494.md?page=1)
