BA
Better Auth•3w ago
SkuliX

Hey

I need to automaticly update username for google social connection when user is signing in / registering for the first time. any ideas how do to so
Solution:
you mean manually, you can use mapProfileToUser method https://www.better-auth.com/docs/concepts/oauth#mapprofiletouser...
OAuth | Better Auth
How Better Auth handles OAuth
Jump to solution
3 Replies
Solution
🌠kkMihai ⚡
you mean manually, you can use mapProfileToUser method https://www.better-auth.com/docs/concepts/oauth#mapprofiletouser
OAuth | Better Auth
How Better Auth handles OAuth
SkuliX
SkuliXOP•3w ago
Hey Thanks for answering my question I already resolved it by using custom databasehooks and the mapProfile method u mentioned

Did you find this page helpful?