Answer the question
In order to leave comments, you need to log in
How to implement authentication using an external provider (VKontakte) in ASP.NET Core?
I am developing a web application for which authentication through VKontakte should be implemented. There is no intelligible information in the open spaces, there are only examples of the implementation of Facebook and Google using the Microsoft.AspNetCore.Authentication.Facebook and Microsoft.AspNetCore.Authentication.Google packages.
Is it possible to use another provider and how to do it using Identity ?
Answer the question
In order to leave comments, you need to log in
VK Open API
1. Получаете через API ID пользователя
2. Находите по ID его у себя в базе
3. Отмечаете, что залогинен
4. Возвращаете странице cookies с токеном вашей сессии
В ASP .Net Contrib есть провайдеры для большинства сайтов, в том числе и для ВК
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question