User info from social providers

How can i get the user profile data when using google OAuth?

does better auth returns it out of the box or do i get the access token that i need to use and hit the social provider a api to get user info?
Solution
only when the user is first created so it doesn't override any local changes.
Was this page helpful?