Setup
1
Get credentials
Go to the Atlassian Developer Console and create an OAuth 2.0 app. Add your redirect URI:Scopes
Default scope:read:me. Scopes you pass are added on top of the default.
Atlassian uses a 3-legged OAuth (3LO) flow. Users grant access per product (Jira, Confluence, etc.). The accessible resources endpoint returns which sites the user has authorized.