Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure AD Authentication with Next.js and Prisma #445

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update auth.ts
Oops.
  • Loading branch information
mvthul committed Jun 19, 2024
commit 06571545f3c996a1bd0432adc83bbc380497cbdd
4 changes: 2 additions & 2 deletions src/server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ export const authOptions: NextAuthOptions = {
// type: 'oauth',
// version: '2.0',
// authorization: { params: { scope: "openid profile user.Read email" } },
// accessTokenUrl: 'https://login.microsoftonline.com/2fa1f708-9c18-4add-88b7-d761eac5c493/oauth2/v2.0/token',
// authorizationUrl: 'https://login.microsoftonline.com/2fa1f708-9c18-4add-88b7-d761eac5c493/oauth2/v2.0/authorize',
// accessTokenUrl: 'https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/token',
// authorizationUrl: 'https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/authorize',
// clientId: process.env.AZURE_AD_CLIENT_ID,
// clientSecret: process.env.AZURE_AD_CLIENT_SECRET,
// },
Expand Down