messa / pyladies-courseware

Homework/task submit and review web app · based on React and Python aiohttp

Home Page:https://projekty.pyladies.cz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check for duplicate login

messa opened this issue · comments

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).

commented

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.