Skip to content

Commit d269266

Browse files
committed
🔄 Synced local '.' with remote 'apps/examples/nextjs'
1 parent 189e987 commit d269266

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

auth.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,24 @@ export const config = {
7171
theme: {
7272
logo: "https://next-auth.js.org/img/logo/logo-sm.png",
7373
},
74-
providers: [Apple, Auth0, AzureDevops, Cognito, Facebook, GitHub, Google, LinkedIn, Passage, Pinterest, Twitch, Twitter],
74+
providers: [
75+
Apple,
76+
Auth0,
77+
AzureDevops({
78+
// TODO: Remove when env inference is corrected (prev. AUTH_AZURE-DEVOPS_ID)
79+
clientId: process.env.AUTH_AZURE_DEVOPS_ID,
80+
clientSecret: process.env.AUTH_AZURE_DEVOPS_SECRET,
81+
}),
82+
Cognito,
83+
Facebook,
84+
GitHub,
85+
Google,
86+
LinkedIn,
87+
Passage,
88+
Pinterest,
89+
Twitch,
90+
Twitter,
91+
],
7592
basePath: "/auth",
7693
callbacks: {
7794
authorized({ request, auth }) {

0 commit comments

Comments
 (0)