Let's say the user signs-up via Facebook. However, some time passed and the user forgot that they signed-in via Facebook and tried to log-in using their email.

Usually, for other apps, the login just won't validate since they never signed-up that way before (there was no password set). However, is this good UX? Is there another way to handle this (e.g. let them know that they already signed-in using Facebook?)?


If the person is trying to login from a different device you won't be able to tell him he already signed in via social-login.

What you can do though, is remind him that he might have used social-login before in the error message.

Something like "The e-mail or password you entered is not valid. Maybe you signed in by using social-login before?"


I think if your system supports both social media and email logins then you should allow both to be linked to the same account.

So the next time a user that has signed up through social login tries logging in through email, you can redirect him to sign-up screen saying that "there is no account with the given email id. Please try logging in via social login in case you created an account with that" (Do not mention if that user id already exists through social login since it is considered as a privacy/security breach -- some crawler can know which user's have signed up for your service and attack them via phishing).

This way, the user can still signup via email with a password and you can connect this to the social login usage, thereby allowing him to login via both options next time. If user logs in via email first and then tries to login via social login then its way simpler since you just need to allow him to do that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.