social login duplicate accounts conflict
问题 I'm making a new app the would need multiple social registration beside the regular email/password signup, however there is a particular case that might cause problems with data integrity ... Example: A user signs up with facebook but no email was returned. I create in the db a user with email and password set to null, and a social profile entry with his id, token and provider name. then the user next time signs up with email and password, so i create a new record in users table for him. And