look ma i'm nexting
This commit is contained in:
parent
d369880579
commit
6591e0987f
8 changed files with 161 additions and 1463 deletions
11
pages/api/auth/[...nextauth].js
Normal file
11
pages/api/auth/[...nextauth].js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import NextAuth from "next-auth";
|
||||
import DiscordProvider from "next-auth/providers/discord";
|
||||
|
||||
export default NextAuth({
|
||||
providers: [
|
||||
DiscordProvider({
|
||||
clientId: process.env.DISCORD_CLIENT_ID,
|
||||
clientSecret: process.env.DISCORD_CLIENT_SECRET,
|
||||
}),
|
||||
],
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue