From 0453bafa63ccd1057279a1be9286b3e7ebcb62d2 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 24 Mar 2025 01:29:33 -0400 Subject: Depcreating web server, returning back to using Discord as settings --- web/src/lib/auth.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'web/src/lib/auth.js') diff --git a/web/src/lib/auth.js b/web/src/lib/auth.js index 3f78f94..28c34f1 100644 --- a/web/src/lib/auth.js +++ b/web/src/lib/auth.js @@ -4,13 +4,6 @@ import Discord from "next-auth/providers/discord" export const { handlers, signIn, signOut, auth } = NextAuth({ providers: [Discord({ authorization: { - profile(profile) { - return { - id: profile.id, - name: profile.username, - image: profile.image_url - } - }, url: "https://discord.com/api/oauth2/authorize", params: { scope: "identify guilds" }, } -- cgit v1.2.3