Created
August 11, 2022 18:12
-
-
Save MoritzKn/e3c485fcef04a04170ac14780fa0c6bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NextAuth from "next-auth"; | |
import AzureADProvider from "next-auth/providers/azure-ad"; | |
// This really is the default config, the issue only occuries in combination | |
// with the Azure AD config and I can not give you my secrets. | |
// Please keep reading the issue, thank you :) | |
export default NextAuth({ | |
providers: [ | |
AzureADProvider({ | |
clientId: process.env.AZURE_AD_CLIENT_ID, | |
clientSecret: process.env.AZURE_AD_CLIENT_SECRET, | |
tenantId: process.env.AZURE_AD_TENANT_ID, | |
}), | |
] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment