.jannik
.jannik
TTCTheo's Typesafe Cult
Created by .jannik on 2/27/2025 in #questions
Problem with trying to add more Scopes
Hi I am trying to write a website where I want to use the DiscordProvider for my login and many other things. But now I keep getting the same config error as soon as I insert the following code in my server/auth/config.ts.
DiscordProvider({
clientId: process.env.DISCORD_CLIENT_ID,
clientSecret: process.env.DISCORD_CLIENT_SECRET,
authorization: { params: { scope: 'identify email guilds guilds.members.read '}}
}),
DiscordProvider({
clientId: process.env.DISCORD_CLIENT_ID,
clientSecret: process.env.DISCORD_CLIENT_SECRET,
authorization: { params: { scope: 'identify email guilds guilds.members.read '}}
}),
2 replies