我正在用 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