BitbucketでGitリモート認証エラーになった

いつものようにgit pullしたら以下のエラーに遭遇した。

1
2
3
4
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/

なんか認証周りが変わったらしい。
bitbucketにwebでログインするパスワードだと通らなくなった。

代わりに以下のURLからアプリパスワードとかいうの設定して、それを入力したら通るようになった。

https://bitbucket.org/account/settings/app-passwords/

普段はVSCodeのメニューからgit pullしてて、その場合だと上のエラーメッセージが出ないのでハマった。。

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×