Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Not able to convert access_token from JWT.

Gautam Moradiya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2022

I'm using Bitbucket Connect App and I'm getting JWT token from webhooks but I'm not able to get access_token from the below API call. returns nothing using this API call.

 

curl -X POST -H "Authorization: JWT {jwt_token}" \ https://bitbucket.org/site/oauth2/access_token \ -d grant_type=urn:bitbucket:oauth2:jwt

 

I'm using the JWT token which I got from the installation webhook.


Following below documentation to get access token  from JWT.
https://developer.atlassian.com/cloud/bitbucket/oauth-2/

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events