diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index 8c3a7539..c251137c 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -96,6 +96,8 @@ export const authOptions: NextAuthOptions = { username: (profile as any).preferred_username ?? profile.email?.split('@')[0] ?? '', first_name: (profile as any).given_name ?? '', last_name: (profile as any).family_name ?? '', + rocketChatToken: '', + rocketChatUserId: '', }; try {