providers/atlassian
Functionsβ
default()β
Setupβ
Import the provider and configure it in your Auth.js initialization file:
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.
Signatureβ
default<P>(options: OAuthUserConfig<P>): OAuthConfig<P>;
Type parametersβ
P
extendsAtlassianProfile
<P
>
Parametersβ
Name | Type |
---|---|
options | OAuthUserConfig <P > |
Returnsβ
OAuthConfig
<P
>
Interfacesβ
AtlassianProfileβ
The returned user profile from Atlassian when using the profile callback.
Propertiesβ
account_idβ
string
The user's atlassian account ID
emailβ
string
The user's email
nameβ
string
The user name
pictureβ
string
The user's profile picture