[Solved] Bitbucket Cloud recently stopped supporting account passwords for Git authentication
Problem:
You are using bitbucket and trying to push your code to it. But it gives you an error saying
Bitbucket Cloud recently stopped supporting account passwords for Git authentication
This problem is happening because the cloud account password is not accepted by bitBucket anymore from march 1, 2022.
So, In this article, we are going to learn how to solve this problem.
Solution:
1. Go to the App passwords page then create an app password. Remember to save the password you created.
2. Give a label and check all the necessary permissions. Click the create button.
3. Now to use this on your previous repository do this:
git remote set-url origin
https://<your_bitbucket_username>:<your_app_password>@bitbucket.org/<repository_name>.git
4. For the new repository use this:
git clone https://<your_bitbucket_username>:<your_app_password>@bitbucket.org/<repo_name>.git
Hope this solves your error. If you need any more help or if you have any more questions you can comment below.