Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
API reference
azure-ad

providers/azure-ad

Built-in Azure AD integration.

AzureADProfile

type AzureADProfile: MicrosoftEntraIDProfile;

default()

default(config): ReturnType<typeof default>

Parameters

ParameterType
configOIDCUserConfig<MicrosoftEntraIDProfile> & { profilePhotoSize: | 64 | 48 | 96 | 120 | 240 | 360 | 432 | 504 | 648; }

Returns

ReturnType<typeof default>

Deprecated

Azure Active Directory has been renamed to Microsoft Entra ID. Import this provider from the providers/microsoft-entra-id submodule instead of providers/azure-ad.

Auth.js © Balázs Orbán and Team - 2024