Assigning Roles Per Platform in Better Auth SSO (Web vs Mobile)
Hello. We manage SSO with Better Auth. As a business requirement, we want to assign the “x” role to the user when they register with Google on the web frontend, and assign the “y” role when they register with Google on our React Native mobile app. How can we manage this? I looked into Better Auth hooks for research. I couldn't find much information. I thought I might need to send something like an intent to Google (or another SSO provider) and then capture it with a hook. What do you recommend?