Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get http access token using curl for a user or repository/project??

Mohammed Muthahhar November 3, 2022

If there is a way to get http access token without creating a consumer, using curl..Please mention it to me..I am a developer...

1 answer

1 accepted

1 vote
Answer accepted
Aron Gombas _Midori_
Community Champion
November 3, 2022

I think, if you don't want to go the Oauth way, you should use app passwords. (But note that these are tied to user accounts.)

Mohammed Muthahhar November 4, 2022

So, how can we use app passwords? can we use it as access tokens?? or is there a way to use those to access the details??

Aron Gombas _Midori_
Community Champion
November 4, 2022

See the section "Using App passwords with Bitbucket APIs" on this page:

https://support.atlassian.com/bitbucket-cloud/docs/using-app-passwords/

As you can see, the username and the app password together can used as a BASIC auth token (very easy, standard way).

Like Mohammed Muthahhar likes this
Mohammed Muthahhar November 4, 2022

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events