1

I am using auth0 for my rails application,I tried to sign in with social connection using auth0, this works fine with google and facebook but when I tried with twitter I am getting blank email for user and not able to sign in with the user having blank email.

Here is the response which I am getting

  {  
    "name": "XXXX",  
    "picture": "XXXX",   
    "lang": "en",  
    "screen_name": "XXXX",
    "clientID": "XXXXXX",  
    "user_id": "XXXXX",  
    "nickname": "XXXX",  
    "identities": [  
     {
        "access_token": "XXXX",
        "access_token_secret": "XXXX",
        "provider": "twitter",
        "user_id": XXXX,
        "connection": "twitter",
         "isSocial": true
     }   
   ], 
   "created_at": "2015-04-07T06:00:51.515Z" 
  }

How do I get user email for twitter using auth0

Gaurav Gupta
  • 475
  • 4
  • 11

1 Answers1

2

Not possible. Twitter API doesn't give email address of the user.

Is there a way to get an user's email ID after verifying his/her Twitter identity using OAuth?

Community
  • 1
  • 1
Rajdeep Singh
  • 17,621
  • 6
  • 53
  • 78