Failed login with X (twitter) getting unable_to_get_user_info & wrong scope with X Oauth
This is what my
When I pass
I followed the docs (https://www.better-auth.com/docs/authentication/twitter) espeically the part that says:
Just a bit confused on what is happening:
cc @Ping
auth.ts file config looks like:When I pass
user.email I get an invalid scope response (invalid_scope), and when I don't pass user.email I get unable_to_get_user_infoI followed the docs (https://www.better-auth.com/docs/authentication/twitter) espeically the part that says:
Twitter API v2 now supports email address retrieval. Make sure to request the user.email scope when configuring your Twitter app to enable this feature.
Just a bit confused on what is happening:
cc @Ping