This commit is contained in:
2025-09-08 18:30:34 +00:00
parent c116a85ead
commit a93493fb62
15 changed files with 134 additions and 182 deletions

12
auth.ts
View File

@@ -11,5 +11,15 @@ export const { handlers, auth, signIn, signOut } = NextAuth({
],
// ...callbacks 등등
events: {
async signIn({ user, account, profile }) {
console.log("[NextAuth] signIn user:", {
id: (user as any)?.id,
name: user?.name,
email: user?.email,
image: (user as any)?.image,
provider: account?.provider,
});
},
},
});