Skip to main content

providers/atlassian

Built-in sign in with Atlassian integration.

default()​

default<P>(options): OAuthConfig< P >

Setup​

Callback URL​

https://example.com/api/auth/callback/atlassian

Configuration​

Import the provider and configure it in your Auth.js initialization file:

pages/api/auth/[...nextauth].ts
import NextAuth from "next-auth"
import AtlassianProvider from "next-auth/providers/atlassian"

export default NextAuth({
providers: [
AtlassianProvider({
clientId: process.env.ATLASSIAN_ID,
clientSecret: process.env.ATLASSIAN_SECRET,
}),
],
})

Resources​

Notes​

The Atlassian provider comes with a default configuration. To override the defaults for your use case, check out customizing a built-in OAuth provider.

Help​

If you think you found a bug in the default configuration, you can open an issue.

Auth.js strictly adheres to the specification and it cannot take responsibility for any deviation from the spec by the provider. You can open an issue, but if the problem is non-compliance with the spec, we might not pursue a resolution. You can ask for more help in Discussions.

Type parameters​

β–ͺ P extends AtlassianProfile

Parameters​

β–ͺ options: OAuthUserConfig< P >

Returns​

OAuthConfig< P >


AtlassianProfile​

The returned user profile from Atlassian when using the profile callback.

Extends​

  • Record< string, any >

Properties​

account_id​

account_id: string;

The user's atlassian account ID

email​

email: string;

The user's email

name​

name: string;

The user name

picture​

picture: string;

The user's profile picture