aboutsummaryrefslogtreecommitdiff
path: root/web/src/lib/auth.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-24 01:29:33 -0400
committerAndrew Lee <andrew@alee14.me>2025-03-24 01:29:33 -0400
commit0453bafa63ccd1057279a1be9286b3e7ebcb62d2 (patch)
tree0a71e0c06912a81ac009b196c5fee8dc9037cb60 /web/src/lib/auth.js
parenta19b6ed4ef829697fd0be153af5e27c99f267787 (diff)
downloadAleeBot-0453bafa63ccd1057279a1be9286b3e7ebcb62d2.tar.gz
AleeBot-0453bafa63ccd1057279a1be9286b3e7ebcb62d2.tar.bz2
AleeBot-0453bafa63ccd1057279a1be9286b3e7ebcb62d2.zip
Depcreating web server, returning back to using Discord as settings
Diffstat (limited to 'web/src/lib/auth.js')
-rw-r--r--web/src/lib/auth.js7
1 files changed, 0 insertions, 7 deletions
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" },
}