V
V
Vitaly Kuznetsov2016-12-22 03:32:25
ASP.NET
Vitaly Kuznetsov, 2016-12-22 03:32:25

How to implement ASP.NET MVC login through Facebook, VKontakte and other social networks. networks?

Does anyone have an example of a project where an entrance through a social network has already been implemented. networks and work with the user in a DB?
I didn’t find simple ready-made examples on the net, especially for VKontakte, there is a provider Owin.Vkontakte , but there is no project example :-\

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-12-22
@senal

We generate a new application according to a standard template in the studio. For Facebook, it is enough to register the application on Facebook, get the appId, appSecret, substitute them in the string with the string "app.usefacebookauthentication(appid: "", appsecret: "");" in StartupAuth. For the rest, we install the KatanaContrib package and write similar lines.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question