Refactor flow 3
This commit is contained in:
parent
35ce442d4f
commit
30ee3213f7
@ -500,7 +500,7 @@ export const authOptions: NextAuthOptions = {
|
|||||||
console.log('User:', user?.id, user?.email);
|
console.log('User:', user?.id, user?.email);
|
||||||
console.log('Account:', account?.provider);
|
console.log('Account:', account?.provider);
|
||||||
console.log('Profile:', profile?.sub);
|
console.log('Profile:', profile?.sub);
|
||||||
return true;
|
// Don't return anything - NextAuth events should return void
|
||||||
},
|
},
|
||||||
async signOut() {
|
async signOut() {
|
||||||
console.log('=== NEXTAUTH SIGNOUT EVENT ===');
|
console.log('=== NEXTAUTH SIGNOUT EVENT ===');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user