我正在使用Django开发应用程序,当我尝试使用Auth0进行登录时会出现以下错误:
"error": {
"message": "Grant type 'authorization_code' not allowed for the client.",
"oauthError": "unauthorized_client",
"type": "oauth-authorization"
}
我已经配置了我的公钥和私钥、登录URL,并且在Auth0中配置了URL。
此外,我注意到可能出错的地方是当我请求访问令牌时,因为当我访问auth0.com/oauth/token时,我得到了一个HTTP 403错误。
与此同时,服务器发送了这个信息:"GET /complete/auth0?redirect_state=y8oPFziJ01BmdGaRbsRJZod3GZ4dP0hW HTTP/1.1" 500 116725。