1
1
import NextAuth from "next-auth"
2
2
3
- // import Apple from "next-auth/providers/apple"
4
3
// import Atlassian from "next-auth/providers/atlassian"
5
- // import Auth0 from "next-auth/providers/auth0"
6
4
// import Authentik from "next-auth/providers/authentik"
7
5
// import AzureAD from "next-auth/providers/azure-ad"
8
6
// import AzureB2C from "next-auth/providers/azure-ad-b2c"
9
7
// import Battlenet from "next-auth/providers/battlenet"
10
8
// import Box from "next-auth/providers/box"
11
9
// import BoxyHQSAML from "next-auth/providers/boxyhq-saml"
12
10
// import Bungie from "next-auth/providers/bungie"
13
- // import Cognito from "next-auth/providers/cognito"
14
11
// import Coinbase from "next-auth/providers/coinbase"
15
12
// import Discord from "next-auth/providers/discord"
16
13
// import Dropbox from "next-auth/providers/dropbox"
17
14
// import DuendeIDS6 from "next-auth/providers/duende-identity-server6"
18
15
// import Eveonline from "next-auth/providers/eveonline"
19
- // import Facebook from "next-auth/providers/facebook"
20
16
// import Faceit from "next-auth/providers/faceit"
21
17
// import FortyTwoSchool from "next-auth/providers/42-school"
22
18
// import Foursquare from "next-auth/providers/foursquare"
23
19
// import Freshbooks from "next-auth/providers/freshbooks"
24
20
// import Fusionauth from "next-auth/providers/fusionauth"
25
- import GitHub from "next-auth/providers/github"
26
21
// import Gitlab from "next-auth/providers/gitlab"
27
- // import Google from "next-auth/providers/google"
28
22
// import Hubspot from "next-auth/providers/hubspot"
29
23
// import Instagram from "next-auth/providers/instagram"
30
24
// import Kakao from "next-auth/providers/kakao"
31
25
// import Keycloak from "next-auth/providers/keycloak"
32
26
// import Line from "next-auth/providers/line"
33
- // import LinkedIn from "next-auth/providers/linkedin"
34
27
// import Mailchimp from "next-auth/providers/mailchimp"
35
28
// import Mailru from "next-auth/providers/mailru"
36
29
// import Medium from "next-auth/providers/medium"
@@ -40,9 +33,7 @@ import GitHub from "next-auth/providers/github"
40
33
// import Onelogin from "next-auth/providers/onelogin"
41
34
// import Osso from "next-auth/providers/osso"
42
35
// import Osu from "next-auth/providers/osu"
43
- // import Passage from "next-auth/providers/passage"
44
36
// import Patreon from "next-auth/providers/patreon"
45
- // import Pinterest from "next-auth/providers/pinterest"
46
37
// import Pipedrive from "next-auth/providers/pipedrive"
47
38
// import Reddit from "next-auth/providers/reddit"
48
39
// import Salesforce from "next-auth/providers/salesforce"
@@ -51,8 +42,6 @@ import GitHub from "next-auth/providers/github"
51
42
// import Strava from "next-auth/providers/strava"
52
43
// import Todoist from "next-auth/providers/todoist"
53
44
// import Trakt from "next-auth/providers/trakt"
54
- // import Twitch from "next-auth/providers/twitch"
55
- // import Twitter from "next-auth/providers/twitter"
56
45
// import UnitedEffects from "next-auth/providers/united-effects"
57
46
// import Vk from "next-auth/providers/vk"
58
47
// import Wikimedia from "next-auth/providers/wikimedia"
@@ -63,76 +52,26 @@ import GitHub from "next-auth/providers/github"
63
52
// import Zoho from "next-auth/providers/zoho"
64
53
// import Zoom from "next-auth/providers/zoom"
65
54
55
+ import Apple from "next-auth/providers/apple"
56
+ import Auth0 from "next-auth/providers/auth0"
57
+ import AzureDevops from "next-auth/providers/azure-devops"
58
+ import Cognito from "next-auth/providers/cognito"
59
+ import Facebook from "next-auth/providers/facebook"
60
+ import GitHub from "next-auth/providers/github"
61
+ import Google from "next-auth/providers/google"
62
+ import LinkedIn from "next-auth/providers/linkedin"
63
+ import Passage from "next-auth/providers/passage"
64
+ import Pinterest from "next-auth/providers/pinterest"
65
+ import Twitch from "next-auth/providers/twitch"
66
+ import Twitter from "next-auth/providers/twitter"
67
+
66
68
import type { NextAuthConfig } from "next-auth"
67
69
68
70
export const config = {
69
71
theme : {
70
72
logo : "https://next-auth.js.org/img/logo/logo-sm.png" ,
71
73
} ,
72
- providers : [
73
- // Apple,
74
- // Atlassian,
75
- // Auth0,
76
- // Authentik,
77
- // AzureAD,
78
- // AzureB2C,
79
- // Battlenet,
80
- // Box,
81
- // BoxyHQSAML,
82
- // Bungie,
83
- // Cognito,
84
- // Coinbase,
85
- // Discord,
86
- // Dropbox,
87
- // DuendeIDS6,
88
- // Eveonline,
89
- // Facebook,
90
- // Faceit,
91
- // FortyTwoSchool,
92
- // Foursquare,
93
- // Freshbooks,
94
- // Fusionauth,
95
- GitHub ,
96
- // Gitlab,
97
- // Google,
98
- // Hubspot,
99
- // Instagram,
100
- // Kakao,
101
- // Keycloak,
102
- // Line,
103
- // LinkedIn,
104
- // Mailchimp,
105
- // Mailru,
106
- // Medium,
107
- // Naver,
108
- // Netlify,
109
- // Okta,
110
- // Onelogin,
111
- // Osso,
112
- // Osu,
113
- // Passage,
114
- // Patreon,
115
- // Pinterest,
116
- // Pipedrive,
117
- // Reddit,
118
- // Salesforce,
119
- // Slack,
120
- // Spotify,
121
- // Strava,
122
- // Todoist,
123
- // Trakt,
124
- // Twitch,
125
- // Twitter,
126
- // UnitedEffects,
127
- // Vk,
128
- // Wikimedia,
129
- // Wordpress,
130
- // WorkOS,
131
- // Yandex,
132
- // Zitadel,
133
- // Zoho,
134
- // Zoom,
135
- ] ,
74
+ providers : [ Apple , Auth0 , AzureDevops , Cognito , Facebook , GitHub , Google , LinkedIn , Passage , Pinterest , Twitch , Twitter ] ,
136
75
basePath : "/auth" ,
137
76
callbacks : {
138
77
authorized ( { request, auth } ) {
0 commit comments