Skip to content

Commit

Permalink
🐛 fix: fix azure-ad (lobehub#4438)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx authored Oct 21, 2024
1 parent ea725b9 commit 8077317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/next-auth/sso-providers/azure-ad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const provider = {
// TODO(NextAuth ENVs Migration): Remove once nextauth envs migration time end
clientId: authEnv.AZURE_AD_CLIENT_ID ?? process.env.AUTH_AZURE_AD_ID,
clientSecret: authEnv.AZURE_AD_CLIENT_SECRET ?? process.env.AUTH_AZURE_AD_SECRET,
// tenantId: authEnv.AZURE_AD_TENANT_ID ?? process.env.AUTH_AZURE_AD_TENANT_ID,
// @ts-ignore
tenantId: authEnv.AZURE_AD_TENANT_ID ?? process.env.AUTH_AZURE_AD_TENANT_ID,
// Remove end
// TODO(NextAuth): map unique user id to `providerAccountId` field
// profile(profile) {
Expand Down

0 comments on commit 8077317

Please sign in to comment.