小编Ott*_*rck的帖子

我如何从 BitBucket OAuth 获取令牌

我试图通过我的 OAuth 应用程序获取令牌,如文档中所写,但我总是收到此错误

{“error_description”:“无效的 OAuth 客户端凭据”,“error”:“unauthorized_client”}

我的行动:

  1. 我收到代码:

    https://bitbucket.org/site/oauth2/authorize?client_id={my_application_key}&response_type=code

  2. 我想收到此代码的令牌:

    卷曲-X POST -u“client_id:my_application_secret” https://bitbucket.org/site/oauth2/access_token -d grant_type=authorization_code -d code={code}

也许我错过了什么?

api oauth bitbucket access-token

3
推荐指数
1
解决办法
5558
查看次数

标签 统计

access-token ×1

api ×1

bitbucket ×1

oauth ×1