Forums

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

I am not able to fetch cloud id and required data in oauth 2.0 authentication

FAsmani September 28, 2021

Hello @Ravi Sagar _Sparxsys_ , @Atlassian Team Leader

I am trying to use this curl command in postman but I am not receiving any data along with cloud id.curl command.PNG

 curl --header 'Authorization: Bearer <access_token>' \ --url 'https://api.atlassian.com/oauth/token/accessible-resources'

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 30, 2021

Hi @FAsmani 

I am a bit confused by the problem you pose here.  If you are trying to setup an OAuth 2.0 integration between an Atlassian Cloud site and your own developing application, why are you trying to use Postman here?

The steps to follow in OAuth 2.0 (3LO) apps are correct for integrating your own application with our Cloud services.  Perhaps there was a step before this that was incomplete, such as granting the scopes of the sites.  That could in theory cause this later step to return no results, but then again, I'm not expecting this call to be made from a 3rd party application like postman.

If you're trying to make REST API calls with postman, then I would suggest following the steps in Basic auth for REST APIs.  But if you are creating your own application, then please I would take a step back and stick closely to that OAuth guide.

Andy

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events