college-bot-v1/website/pages/api/auth/[...nextauth].js

19 lines
493 B
JavaScript
Raw Normal View History

2022-11-21 09:28:48 +00:00
import NextAuth from "next-auth"
import DiscordProvider from "next-auth/providers/discord"
// noinspection JSUnresolvedVariable
export const authOptions = {
// Configure one or more authentication providers
providers: [
DiscordProvider(
{
clientId: '1019217990111199243',
clientSecret: 'JIgEecH6RyG9TJLZjga0EoMzafqwRIEb'
}
),
// ...add more providers here
],
}
export default NextAuth(authOptions);