meteor-useraccounts / core

Meteor sign up and sign in templates' core functionalities
http://useraccounts.meteor.com/
MIT License
529 stars 278 forks source link

If facebook email not provided user can never login #596

Open greggman opened 9 years ago

greggman commented 9 years ago

I'm probably doing something dumb but...

Using useraccounts:unstyled but assuming this is a core issue. User chooses to create an account using facebook. They are asked for an email/password by facebook

screen shot 2015-12-03 at 3 12 45 am

They are then told what info will be shared

screen shot 2015-12-03 at 3 12 50 am

They click "Edit the info you provide" and uncheck email

screen shot 2015-12-03 at 3 12 56 am

At this point useraccounts bombs out with "Email already exists". There is no recovery after that AFAICT. Even if the user clears all cookies the next time they try to log in Facebook doesn't ask them what info they want to share. It's already saved their preferences.

Note: I don't need their email for my app so I'm happy not to receive it and given that facebook allows people not to share their email this seems like an issue that needs to be solved one way or another in useraccounts:core or meteor's accounts package.

Any ideas how to go about solving it?

greggman commented 9 years ago

Of, I've verified this is an issue with useraccounts, not with meteor's core accounts-ui. If I just use the tutorial simple-todos example I can create accounts from facebook without email no problem