Image not updating when using genericOAuth client.oauth2.link

When I sign up a new user with client.signIn.oauth2 the user info I get from my OAuth provider contains a image parameter that goes into my user image field in my db.

But when I try linking an existing user using client.oauth2.link the user info I get from my OAuth provider still contains a image parameter but that info never gets updated in my user image field in my db.

https://www.better-auth.com/docs/plugins/generic-oauth#linking-oauth-accounts
Authenticate users with any OAuth provider
Was this page helpful?