I am trying to fetch the list of accessible resources (cloud instances) using the Atlassian OAuth 2.0 (3LO) flow with client credentials. However, even though my account is already connected to a Jira Cloud site, the /accessible-resources
endpoint returns an empty array []
.
Here’s the Python code I’m using:
```
The token request succeeds, and I receive an access_token
.
Decoding the token shows valid claims.
However, calling https://api.atlassian.com/oauth/token/accessible-resources
returns an empty list ([]
).
Welcome to the community.
This call is for developing an app, is your question about client_id an an app?
https://developer.atlassian.com/cloud/confluence/oauth-2-3lo-apps/#get-list-of-resources
This endpoint can't be used by a user API token.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.