mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
18 lines
493 B
JavaScript
18 lines
493 B
JavaScript
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);
|