From 99f312c4c6e8b47ca01b0a4c3e0b0dafd16217fb Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Wed, 19 Feb 2025 22:05:20 +0100 Subject: [PATCH] add name to auth profile --- src/pages/api/auth/[...nextauth].ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/api/auth/[...nextauth].ts b/src/pages/api/auth/[...nextauth].ts index ec23326..8730a32 100644 --- a/src/pages/api/auth/[...nextauth].ts +++ b/src/pages/api/auth/[...nextauth].ts @@ -16,6 +16,7 @@ export const authOptions = { profile(profile) { return { id: profile.sub, + name: profile.name, email: profile.email, username: profile.preferred_username, is_volunteer: profile.is_volunteer,