overrideUserInfoOnSignIn not working with Google
Steps to repro:
- in auth.ts, under
socialProviders: {google: ... }I've setoverrideUserInfoOnSignIn: true - I go to my db, manually edit the
user.namecolumn to gibberish - Gibberish shows in
session.user.nameproperty in code - Sign out, sign in again (via Google OAuth), gibberish still showing in the db field.
- Have to delete the user and sign up again to correct the name.
overrideUserInfoOnSignIn should do is mistaken. Thanks.