mirror of
https://github.com/UiO-Gaming/name-100-uio-gamers.git
synced 2026-11-05 13:56:53 +01:00
Declare Discord as the OAuth issuer so login works with the new iss callback parameter
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0df601c5da
commit
2ede171914
1 file changed
+1
@@ -29,6 +29,7 @@ export const authOptions: NextAuthOptions = {
|
||||
DiscordProvider({
|
||||
clientId: process.env.DISCORD_CLIENT_ID as string,
|
||||
clientSecret: process.env.DISCORD_CLIENT_SECRET as string,
|
||||
issuer: "https://discord.com",
|
||||
authorization: { params: { scope: "identify" } },
|
||||
profile(profile: DiscordProfile) {
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user