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 '}}
}),
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?