Hi Atlassian Support,
I’m currently implementing Jira OAuth 2.0 integration and have encountered an issue with the accessible-resources endpoint.
During the OAuth 2.0 authorization process, Atlassian presents a “Choose a site” selector on the consent page, allowing the user to pick which Jira site to authorize.
However, after authorization, when we call the https://api.atlassian.com/oauth/token/accessible-resources endpoint to retrieve the user’s authorized site (and its cloudId for subsequent API calls), the response returns all sites/resources accessible to that user — not just the site that was selected during the authorization step.
This creates ambiguity, as it’s unclear which specific site the user actually authorized for this OAuth session.
Could you please advise how we can determine which site the user selected on the authorization page?
Is there any way to identify or filter the authorized site from the accessible-resources response, or from another endpoint or token claim?
Thank you for your help.
Best regards,
