Oauth 2.0 Box API访问令牌:无效的\u客户端

Oauth 2.0 Box API访问令牌:无效的\u客户端,oauth-2.0,box,Oauth 2.0,Box,我正在尝试使用Box API,需要一个访问令牌。我在这里观看了教程视频:获取授权码,然后将其交换为访问和刷新令牌。这是我向邮递员提出的邮寄请求: https://api.box.com/oauth2/token?grant_type=authorization_code&client_id=<my_client_id>&client_secret=<my_client_secret>&code=<code_given_on_redirect&

我正在尝试使用Box API,需要一个访问令牌。我在这里观看了教程视频:获取授权码,然后将其交换为访问和刷新令牌。这是我向邮递员提出的邮寄请求:

https://api.box.com/oauth2/token?grant_type=authorization_code&client_id=<my_client_id>&client_secret=<my_client_secret>&code=<code_given_on_redirect>&redirect_uri=http://0.0.0.0
  • 除非我完全失去理智,否则我肯定我正在从我的申请页面输入正确的客户id和客户机密。(我试了好几次。)
  • 我在生成此post请求后不到30秒内发送了此post请求

知道我遗漏了什么吗?谢谢。

我遇到了类似的问题,并在他们的ruby repo上发行了一期github:
{
  "error": "invalid_client",
  "error_description": "The client credentials are invalid"
}