Ive created a APP Password in Bitbucket and am attempting to make the below call using POSTMAN.
In postman Ive set it to use BASIC AUTH where the username is my regular email username and the password is the generated APP Password.
When it hit SEND, i get the below response:
Bitbucket Cloud recently stopped supporting account passwords for API authentication.
See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
App passwords are recommended for most use cases and can be created in your Personal settings:
https://bitbucket.org/account/settings/app-passwords/
For more details on API authentication methods see our documentation:
https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication
What am i doing wrong?
many thanks!
Hello @Kelly ,
Welcome to Atlassian Community!
From your description you are using your account's e-mail address as the username and I think this is the issue here.
To authenticate your calls to Bitbucket API using basic auth you need to provide your bitbucket username, and not e-mail address. You can find the bitbucket username of your account going to your account's personal settings (https://bitbucket.org/account/settings/), and looking for the field Username under Account Settings.
Then, you can use the bibucket username along with an App Password as your credentials for authenticating the request to Bitbucket API.
Hope that helps! Let me know if you have any question.
Thank you @Kelly .
Kind regards,
Patrik S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.