如何使用凭据 IntelliJ (GIT) 登录 bitbucket(自 12.03.2022 起)

Howto login to bitbucket using credentials IntelliJ (GIT) (since 12.03.2022)

从今天开始,我无法从 intellij 连接到 bitbucket。多年来一直运行良好,但现在似乎有任何变化,到目前为止我不知道如何解决。

我从 Intellij 获取我的存储库并得到以下信息:

我提供了正确的凭据,可用于登录 bitbucket weblogin。

输入正确的凭据后,我得到:

在此对话框中我无法更改用户名,它不是电子邮件地址,而是我的名字。 -> 获取不起作用。

在我的 Intellij 设置中,我不使用凭证助手:

有什么帮助吗?

Bitbucket 宣布:

Beginning March 1, 2022, Bitbucket Cloud users will no longer be able to use their account passwords when using Basic authentication for Git over HTTPS and the Bitbucket Cloud REST API. (https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231)

所以你应该创建一个“应用程序密码”
这可能有助于: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/

像这样创建“应用程序密码”:
App password creation example

创建后显示的密码应输入到您的登录对话框中。

希望对您有所帮助。