File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import LineProvider from "next-auth/providers/line"
17
17
import LinkedInProvider from "next-auth/providers/linkedin"
18
18
import MailchimpProvider from "next-auth/providers/mailchimp"
19
19
import DiscordProvider from "next-auth/providers/discord"
20
+ import AzureADProvider from "next-auth/providers/azure-ad"
20
21
21
22
// import { PrismaAdapter } from "@next-auth/prisma-adapter"
22
23
// import { PrismaClient } from "@prisma/client"
@@ -132,6 +133,11 @@ export default NextAuth({
132
133
clientId : process . env . DISCORD_ID ,
133
134
clientSecret : process . env . DISCORD_SECRET ,
134
135
} ) ,
136
+ AzureADProvider ( {
137
+ clientId : process . env . AZURE_AD_CLIENT_ID ,
138
+ clientSecret : process . env . AZURE_AD_CLIENT_SECRET ,
139
+ tenantId : process . env . AZURE_AD_TENANT_ID ,
140
+ } ) ,
135
141
] ,
136
142
jwt : {
137
143
encryption : true ,
@@ -141,6 +147,6 @@ export default NextAuth({
141
147
theme : {
142
148
colorScheme : "auto" ,
143
149
logo : "https://next-auth.js.org/img/logo/logo-sm.png" ,
144
- brandColor : "#1786fb"
150
+ brandColor : "#1786fb" ,
145
151
} ,
146
152
} )
You can’t perform that action at this time.
0 commit comments