Forums

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

Why does https://api.atlassian.com/oauth/token/accessible-resources returns an empty list ?

Rajini
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!
February 22, 2023

Call to this api - https://auth.atlassian.com/oauth/token with the body -

{
    "client_id": "<client id>",
    "client_secret": "<client secret>",
    "grant_type": "client_credentials",
    "scope": "read:account read:me read:confluence-content.summary"
}
gives response as - 
{
    "access_token": "<access token>",
    "expires_in": 3600,
    "token_type": "Bearer",
    "scope": "read:account read:confluence-space.summary manage:jira-data-provider read:me manage:jira-webhook read:confluence-groups manage:confluence-configuration report:personal-data read:confluence-content.all read:confluence-props read:jira-user read:confluence-content.permission write:jira-work manage:jira-configuration readonly:content.attachment:confluence manage:jira-project write:confluence-groups read:confluence-user read:confluence-content.summary search:confluence read:jira-work write:confluence-space write:confluence-content write:confluence-file write:confluence-props"
}
On using the access token provided in the response of this api call, I call https://api.atlassian.com/oauth/token/accessible-resources , but it returns an empty list.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events