When prompted to log in, use your username, but instead of your usual account password, use the app password:
To get the app password
- Go to the bitbucket.org website and log in
- From your avatar in the bottom left, and click Personal settings
- Click App passwords under Access management
- Click Create app password
- Give the app password sufficient rights, and a label related to the application that will use the password
- Don’t forget to save that password