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