Using extra scopes in OAuth2 Flow
I want to use the webhook.incoming scope, and this will return extra data in the token exchange. I haven't been able to get the data through any means, and this data seems to be ignored. What can I do?
Solution:Jump to solution
You could use
mapProfileToUser
and when you get the data then map that data to the user.
https://www.better-auth.com/docs/concepts/oauth#other-provider-configurations...OAuth | Better Auth
How Better Auth handles OAuth
1 Reply
Solution
You could use
mapProfileToUser
and when you get the data then map that data to the user.
https://www.better-auth.com/docs/concepts/oauth#other-provider-configurationsOAuth | Better Auth
How Better Auth handles OAuth