Skip to content

Commit b81a279

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

File tree

1 file changed

+34
-58
lines changed

1 file changed

+34
-58
lines changed

auth.ts

Lines changed: 34 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,33 @@
11
import NextAuth from "next-auth"
22

3-
// import Atlassian from "next-auth/providers/atlassian"
4-
// import Authentik from "next-auth/providers/authentik"
5-
// import AzureAD from "next-auth/providers/azure-ad"
6-
// import AzureB2C from "next-auth/providers/azure-ad-b2c"
7-
// import Battlenet from "next-auth/providers/battlenet"
8-
// import Box from "next-auth/providers/box"
9-
// import BoxyHQSAML from "next-auth/providers/boxyhq-saml"
10-
// import Bungie from "next-auth/providers/bungie"
11-
// import Coinbase from "next-auth/providers/coinbase"
12-
// import Discord from "next-auth/providers/discord"
13-
// import Dropbox from "next-auth/providers/dropbox"
14-
// import DuendeIDS6 from "next-auth/providers/duende-identity-server6"
15-
// import Eveonline from "next-auth/providers/eveonline"
16-
// import Faceit from "next-auth/providers/faceit"
17-
// import FortyTwoSchool from "next-auth/providers/42-school"
18-
// import Foursquare from "next-auth/providers/foursquare"
19-
// import Freshbooks from "next-auth/providers/freshbooks"
20-
// import Fusionauth from "next-auth/providers/fusionauth"
21-
// import Gitlab from "next-auth/providers/gitlab"
22-
// import Hubspot from "next-auth/providers/hubspot"
23-
// import Instagram from "next-auth/providers/instagram"
24-
// import Kakao from "next-auth/providers/kakao"
25-
// import Keycloak from "next-auth/providers/keycloak"
26-
// import Line from "next-auth/providers/line"
27-
// import Mailchimp from "next-auth/providers/mailchimp"
28-
// import Mailru from "next-auth/providers/mailru"
29-
// import Medium from "next-auth/providers/medium"
30-
// import Naver from "next-auth/providers/naver"
31-
// import Netlify from "next-auth/providers/netlify"
32-
// import Okta from "next-auth/providers/okta"
33-
// import Onelogin from "next-auth/providers/onelogin"
34-
// import Osso from "next-auth/providers/osso"
35-
// import Osu from "next-auth/providers/osu"
36-
// import Patreon from "next-auth/providers/patreon"
37-
// import Pipedrive from "next-auth/providers/pipedrive"
38-
// import Reddit from "next-auth/providers/reddit"
39-
// import Salesforce from "next-auth/providers/salesforce"
40-
// import Slack from "next-auth/providers/slack"
41-
// import Spotify from "next-auth/providers/spotify"
42-
// import Strava from "next-auth/providers/strava"
43-
// import Todoist from "next-auth/providers/todoist"
44-
// import Trakt from "next-auth/providers/trakt"
45-
// import UnitedEffects from "next-auth/providers/united-effects"
46-
// import Vk from "next-auth/providers/vk"
47-
// import Wikimedia from "next-auth/providers/wikimedia"
48-
// import Wordpress from "next-auth/providers/wordpress"
49-
// import WorkOS from "next-auth/providers/workos"
50-
// import Yandex from "next-auth/providers/yandex"
51-
// import Zitadel from "next-auth/providers/zitadel"
52-
// import Zoho from "next-auth/providers/zoho"
53-
// import Zoom from "next-auth/providers/zoom"
54-
553
import Apple from "next-auth/providers/apple"
4+
import Atlassian from "next-auth/providers/atlassian"
565
import Auth0 from "next-auth/providers/auth0"
57-
import AzureDevops from "next-auth/providers/azure-devops"
6+
import AzureAD from "next-auth/providers/azure-ad"
7+
import AzureB2C from "next-auth/providers/azure-ad-b2c"
8+
import BoxyHQSAML from "next-auth/providers/boxyhq-saml"
589
import Cognito from "next-auth/providers/cognito"
10+
import Coinbase from "next-auth/providers/coinbase"
11+
import Discord from "next-auth/providers/discord"
12+
import Dropbox from "next-auth/providers/dropbox"
5913
import Facebook from "next-auth/providers/facebook"
6014
import GitHub from "next-auth/providers/github"
15+
import Gitlab from "next-auth/providers/gitlab"
6116
import Google from "next-auth/providers/google"
17+
import Hubspot from "next-auth/providers/hubspot"
18+
import Keycloak from "next-auth/providers/keycloak"
6219
import LinkedIn from "next-auth/providers/linkedin"
20+
import Netlify from "next-auth/providers/netlify"
21+
import Okta from "next-auth/providers/okta"
6322
import Passage from "next-auth/providers/passage"
6423
import Pinterest from "next-auth/providers/pinterest"
24+
import Reddit from "next-auth/providers/reddit"
25+
import Slack from "next-auth/providers/slack"
26+
import Spotify from "next-auth/providers/spotify"
6527
import Twitch from "next-auth/providers/twitch"
6628
import Twitter from "next-auth/providers/twitter"
29+
import WorkOS from "next-auth/providers/workos"
30+
import Zoom from "next-auth/providers/zoom"
6731

6832
import type { NextAuthConfig } from "next-auth"
6933

@@ -73,21 +37,33 @@ export const config = {
7337
},
7438
providers: [
7539
Apple,
40+
Atlassian,
7641
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-
}),
42+
AzureAD,
43+
AzureB2C,
44+
BoxyHQSAML,
8245
Cognito,
46+
Coinbase,
47+
Discord,
48+
Dropbox,
8349
Facebook,
8450
GitHub,
51+
Gitlab,
8552
Google,
53+
Hubspot,
54+
Keycloak,
8655
LinkedIn,
56+
Netlify,
57+
Okta,
8758
Passage,
8859
Pinterest,
60+
Reddit,
61+
Slack,
62+
Spotify,
8963
Twitch,
9064
Twitter,
65+
WorkOS,
66+
Zoom,
9167
],
9268
basePath: "/auth",
9369
callbacks: {

0 commit comments

Comments
 (0)