我正在用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
发布于 2020-08-20 03:36:53
我遇到了同样的问题,并且我发现我必须使用Application页面(Grant Type选项卡)上的Advanced设置来授予更多权限:
https://stackoverflow.com/questions/60984893
复制相似问题