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:
leanderandClaude Opus 5.5 committed 2026-10-31 02:04:59 +01:00
1 parent 0df601c5da
commit 2ede171914
1 file changed
+1
+1
View File
@@ -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 {