Skip to content

Commit

Permalink
nextauth route had the wrong environmental variables??
Browse files Browse the repository at this point in the history
  • Loading branch information
siddheshraze committed Sep 4, 2024
1 parent 46e003f commit 693c4f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/api/auth/[[...nextauth]]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const handler = NextAuth({
secret: process.env.NEXTAUTH_SECRET as string,
providers: [
AzureADProvider({
clientId: process.env.AZURE_AD_DEVELOPMENT_CLIENT_ID!,
clientSecret: process.env.AZURE_AD_DEVELOPMENT_CLIENT_SECRET!,
tenantId: process.env.AZURE_AD_DEVELOPMENT_TENANT_ID!,
clientId: process.env.AZURE_AD_CLIENT_ID_DEVELOPMENT!,
clientSecret: process.env.AZURE_AD_CLIENT_SECRET_DEVELOPMENT!,
tenantId: process.env.AZURE_AD_CLIENT_ID_DEVELOPMENT!,
authorization: { params: { scope: 'openid profile email user.Read' } }
})
],
Expand Down

0 comments on commit 693c4f4

Please sign in to comment.