Skip to content

Conversation

@halvaradop
Copy link
Member

@halvaradop halvaradop commented Jan 13, 2026

Description

This pull request adds the Atlassian OAuth provider to the list of supported OAuth integrations in the Aura Auth library.
With this addition, Aura Auth now supports seven OAuth providers: GitHub, Bitbucket, Figma, Discord, GitLab, Spotify, X, Strava and Atlassian

Set up

import { createAuth } from "@aura-stack/auth"

export const auth = createAuth({
  oauth: ["atlassian"],
})

export const { handlers } = auth

@vercel
Copy link

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
auth Ready Ready Preview, Comment Jan 13, 2026 7:53pm
auth-nextjs-demo Ready Ready Preview, Comment Jan 13, 2026 7:53pm

@halvaradop
Copy link
Member Author

halvaradop commented Jan 13, 2026

Note

This pull request is marked as draft because the current implementation of the authorizeURL, accessToken, and userInfo options only accepts endpoint URLs for the OAuth 2.0 Authorization Code flow. At the moment, it is not possible to pass additional parameters or custom headers to these endpoints.

The Atlassian API requires setting additional query parameter audience and prompt, in the authorization URL. These requirements are not currently supported by Aura Auth’s default OAuth flow. For more details, see the official documentation: OAuth 2.0 (3LO) apps.

This OAuth provider faces the same limitation as the drafted Twitch OAuth provider (Twitch OAuth Provider – #47) and the (Notion OAuth provider #49), as both require support for custom headers and non-default request configurations in OAuth endpoints. Once this capability is introduced, this pull request can be completed and reviewed properly.

@halvaradop halvaradop added the oauth Changes related to OAuth flows, providers, tokens, or authentication integration. label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oauth Changes related to OAuth flows, providers, tokens, or authentication integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant