messa / pyladies-courseware

Homework/task submit and review web app · based on React and Python aiohttp
https://projekty.pyladies.cz/
MIT License
18 stars 26 forks source link

Check for duplicate login #118

Open messa opened 5 years ago

messa commented 5 years ago

Some users have logged in using Facebook and then Google. So they end up with two different accounts.

Maybe there should be a warning after the login if we already have a similar user. But how do we check for the similiarity? We can use e-mail, but Facebook does not provide e-mail (maybe permission issue, but still, having e-mail from FB is never 100% guaranteed).

Mintaka commented 3 years ago

Also they can made duplicate sign up with email and after that with google. First check can be on email address. If new user email exist in database, is should not create new user account.