Skip to content

Commit 9693277

Browse files
committed
chore(app): add SpotifyProvider to dev app
1 parent 19a33f3 commit 9693277

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/pages/api/auth/[...nextauth].ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import LinkedInProvider from "next-auth/providers/linkedin"
1818
import MailchimpProvider from "next-auth/providers/mailchimp"
1919
import DiscordProvider from "next-auth/providers/discord"
2020
import AzureADProvider from "next-auth/providers/azure-ad"
21+
import SpotifyProvider from "next-auth/providers/spotify"
2122

2223
// import { PrismaAdapter } from "@next-auth/prisma-adapter"
2324
// import { PrismaClient } from "@prisma/client"
@@ -138,6 +139,10 @@ export default NextAuth({
138139
clientSecret: process.env.AZURE_AD_CLIENT_SECRET,
139140
tenantId: process.env.AZURE_AD_TENANT_ID,
140141
}),
142+
SpotifyProvider({
143+
clientId: process.env.SPOTIFY_ID,
144+
clientSecret: process.env.SPOTIFY_SECRET,
145+
}),
141146
],
142147
jwt: {
143148
encryption: true,

0 commit comments

Comments
 (0)