# JIRA 连接 Bitbucket 的时候提示 Invalid OAuth credentials 错误

**URL:** <https://www.isharkfly.com/t/jira-bitbucket-invalid-oauth-credentials/755>\
**Category:** 敏捷开发\
**Tags:** jira\
**Created:** [December 6, 2020, 4:49am UTC](https://www.isharkfly.com/t/jira-bitbucket-invalid-oauth-credentials/755 "2020-12-06T04:49:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [December 6, 2020, 4:49am UTC](https://www.isharkfly.com/t/jira-bitbucket-invalid-oauth-credentials/755/1 "2020-12-06T04:49:35Z")

</div>

在进行仓库连接的时候提示错误：Invalid OAuth credentials. Check Jira log for more information.

![jira-01](https://www.isharkfly.com/images/transparent.png)

## 解决办法

在登录 [bitbucket.org](http://bitbucket.org) 后，选择你需要连接的工作空间（Workspace），然后选择 OAuth Consumers

然后在你已经配置成功的 Consumer 下面，单击编辑。

![jira-02](https://www.isharkfly.com/images/transparent.png)

选择上，这个是一个私有的 Consumer 这个选项。

![jira-03](https://www.isharkfly.com/images/transparent.png)

然后在 JIRA 中进行再次尝试。

然后你可以看到数据已经同步过来了。

![jira-04](https://www.isharkfly.com/images/transparent.png)
