Custom values into `authClient.signIn.social()`?
Hey there 👋 What's the best way to manually set user values when signing a user in through an OAuth provider? For example, I may want to set a custom, default user image instead of using your social provider image, or I may want a custom name or username. Since I am using Next.js, intercepting the user with a layout function is pretty trivial, but maybe there is some Better-Auth way to do this through hooks or something similar?
Solution:Jump to solution
you can actually map the value here for example
```
socialProviders: {
google: {
clientId: "YOUR_GOOGLE_CLIENT_ID",...
2 Replies