Skip to main content

Setup

1

Get credentials

Go to the Atlassian Developer Console and create an OAuth 2.0 app. Add your redirect URI:
2

Configure

lib/theauth.ts

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.

Endpoints

Last modified on October 18, 2026