From 2ede1719145fb52dbcdcaa5ab5ac45b358953262 Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Sat, 31 Oct 2026 02:04:59 +0100 Subject: [PATCH] Declare Discord as the OAuth issuer so login works with the new iss callback parameter Co-Authored-By: Claude Opus 5.5 --- src/app/lib/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/lib/auth.ts b/src/app/lib/auth.ts index a8acfa5..5a37eef 100644 --- a/src/app/lib/auth.ts +++ b/src/app/lib/auth.ts @@ -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 {