T
T
TimeCoder2016-09-18 23:15:26
OAuth
TimeCoder, 2016-09-18 23:15:26

OAuth2 and login through one of 2 social networks: how to match a user?

Hello, the
situation is as follows: a site (ASP MVC + Angular) with the ability to log in via VK or FB. Let's say for the first time a user logged in through VK, we remembered his user_id and registered it automatically. And the second time he went through FB - and we can’t (I hope this works everywhere!) Start a second account, we need to somehow understand that this is the same person. Of the fields received, the only candidate for a UID is email, but the user can forbid it to be issued (it is possible in VK), well, I didn’t manage to pull it out of VK at all. What to do, where to look?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question