我正在使用django开发应用程序,当我尝试使用auth0进行登录时,我得到了:
"error": {
"message": "Grant type 'authorization_code' not allowed for the client.",
"oauthError": "unauthorized_client",
"type": "oauth-authorization"
}
我已经配置了我的公共密钥和私有密钥,登录URL,并在auth0中配置了URL。
此外,我还注意到该错误可能是当我询问access_token时,因为访问auth0.com/oauth/token时出现了HTTP 403错误。
与此同时,服务器向我发送了这个“ GET / complete / auth0?redirect_state = y8oPFziJ01BmdGaRbsRJZod3GZ4dP0hW HTTP / 1.1” 500 116725