Skip to content

Commit

Permalink
fix: use the correct URL format for issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
pboeder committed Nov 7, 2024
1 parent 121a1e6 commit 8ad3de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/authentication/src/auth.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const { handlers, signIn, signOut, auth } = NextAuth({
MicrosoftEntraID({
clientId: process.env.AUTH_MICROSOFT_ENTRA_CLIENT_ID,
clientSecret: process.env.AUTH_MICROSOFT_ENTRA_ID_SECRET,
issuer: process.env.AUTH_MICROSOFT_ENTRA_ID_TENANT_ID,
issuer: `https://login.microsoftonline.com/${process.env.AUTH_MICROSOFT_ENTRA_ID_TENANT_ID}/v2.0`,
}),
],
secret: process.env.AUTH_SECRET,
Expand Down

0 comments on commit 8ad3de0

Please sign in to comment.