mongodb / stitch-js-sdk

MongoDB Stitch JavaScript SDK
Apache License 2.0
113 stars 67 forks source link

FBLogin matches existing email account #415

Open daveteu opened 4 years ago

daveteu commented 4 years ago

When there's an existing account with the same email address, Facebook is still allowed to login and create a new user with the same email.

So I end up with users creating 2 accounts with same email address.

Is this a default behavior or can it be changed? Another behavior would be stitch returning false, and I prompt user to authenticate with email/password before linking the facebook account.

rui-cruz commented 4 years ago

Is this project dead?

drewdipalma commented 4 years ago

Hi Rui – While we're now recommending users to move to the Realm Web SDK (which contains all the functionality of the Stitch JS SDK) this project will still be supported for the next year. That being said, the behavior above is still present in the new Realm SDK and is intended. In a case like this we would recommend linking users.