我正在用 django 开发一个应用程序,当我尝试使用 auth0 登录时,我得到:
"error": {
"message": "Grant type 'authorization_code' not allowed for the client.",
"oauthError": "unauthorized_client",
"type": "oauth-authorization"
}
我已经配置了我的公钥和私钥、登录网址,并且在 auth0 中我已经配置了网址。
此外,我注意到错误可能是在我询问 access_token 时,因为我在访问 auth0.com/oauth/token 时遇到了 http 403 错误。
同时服务器向我发送了这个“GET/complete/auth0?redirect_state=y8oPFziJ01BmdGaRbsRJZod3GZ4dP0hW HTTP/1.1”500 116725
最佳答案
关于python - 未经授权的客户端 : Grant type 'authorization_code' not allowed for the client. Django -auth0 -login,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60984893/