Accept Twitter's email param

Auth0 incorrectly states that Twitter doesn’t provide an email parameter. Would love to see support for this added.

![alt text][1]
![alt text][2]
![alt text][3]

so what was the API call that you passed params to to get those properties?

To get the email from Twitter you can try using the [rule] (https://manage.auth0.com/#/rules/create) titled Get email address from Twitter. You’ll also need to fill in your twitter consumer and secret keys within the rule:

 var consumerKey = 'UPDATE-WITH-YOUR-CONSUMER-KEY';
 var consumerSecretKey = 'UPDATE-WITH-YOUR-CONSUMER-SECRET-KEY';

As your image shows, on your twitter app permissions, under Additional Permissions, the Request email addresses from users checkbox also needs to be enabled.

You can also find more information on this stackoverflow post:

1 Like