The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events