Search code examples
firebasefirebasesimplelogin

Get Users Email Address with Firebase's Twitter Simple Login


I'm trying to pull the users email address after they authenticate with Firebase's Simple Login Twitter Auth. Right now I'm getting tons of info about the user, but not their email address. I realize with Facebook or Google+ you set the permission like

auth.login('facebook', {
  scope: 'email'
});

but I can't figure out how to do the same with Twitter.


Solution

  • As Sara pointed out in the comments, there is no way to get a users email with Firebase's SimpleLogin Twitter auth. You can however with Facebook or Google+.