overrideUserInfoOnSignIn not working with Google

Steps to repro: 1. in auth.ts, under socialProviders: {google: ... } I've set overrideUserInfoOnSignIn: true 2. I go to my db, manually edit the user.name column to gibberish 3. Gibberish shows in session.user.name property in code 4. Sign out, sign in again (via Google OAuth), gibberish still showing in the db field. 5. Have to delete the user and sign up again to correct the name. Please LMK if my understanding of what overrideUserInfoOnSignIn should do is mistaken. Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?