小编seg*_*oto的帖子

未经授权的客户端:客户端不允许授予类型“authorization_code”。Django -auth0 -login

我正在用 django 开发一个应用程序,当我尝试使用 auth0 进行登录时,我得到:

"error": {
  "message": "Grant type 'authorization_code' not allowed for the client.",
  "oauthError": "unauthorized_client",
  "type": "oauth-authorization"
}
Run Code Online (Sandbox Code Playgroud)

我已经配置了我的公钥和私钥、登录网址,并且在 auth0 中我已经配置了网址。

此外,我注意到错误可能是在我询问 access_token 时,因为我在访问 auth0.com/oauth/token 时遇到了 http 403 错误。

同时服务器向我发送了这个“GET /complete/auth0?redirect_state=y8oPFziJ01BmdGaRbsRJZod3GZ4dP0hW HTTP/1.1”500 116725

python django authorization unauthorized auth0

4
推荐指数
1
解决办法
1289
查看次数

标签 统计

auth0 ×1

authorization ×1

django ×1

python ×1

unauthorized ×1