BadResourceRequest - 要兑换访问令牌的代码,应用程序应向 /token 端点发送 POST 请求。此外,在此之前,您应该提供授权代码并将其在 POST 请求中发送到 /token 端点。请参阅本文以了解 OAuth 2.0 授权代码流程的概述。将用户定向到 /authorize 端点,该端点将返回授权码。通过向 /token 端点发布请求,用户可以获得访问令牌。检查应用程序注册 > 端点以确认两个端点配置正确。
Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。
官方说明 · 原文
BadResourceRequest - To redeem the code for an access token, the app should send a POST request to the /token endpoint. Also, prior to this, you should provide an authorization code and send it in the POST request to the /token endpoint. Refer to this article for an overview of OAuth 2.0 authorization code flow. Direct the user to the /authorize endpoint, which will return an authorization_code. By posting a request to the /token endpoint, the user gets the access token. Check App registrations > Endpoints to confirm that the two endpoints were configured correctly.
修改记录:Extracted official AADSTS table; Markdown stripped; short English error name selected; original Korean product context added. Official general diagnostic guide is distinguished from code-specific troubleshooting. Documentation license explicitly granted by README Legal Notices; repository LICENSE currently contains MIT terms, also retained as evidence. 译文说明已标注为自动翻译。