Ganapathy
Ganapathy
BABetter Auth
Created by Ganapathy on 4/17/2025 in #help
Updating email_verified and image fields
Hi, My app supports credentials & Google OAuth login. I verify emails when users sign up using the credentials method. After using the credentials method to sign up, before verifying their email, if the same user (with the same email) signs in with Google, the user table doesn't update the email_verified to true (if Google passes this email, we can safely set the email_verified field) and image field also is left empty. I want the email_verified and image fields to be set when users log in with Google using the same email used for the credential method. How do I do that?
2 replies