User-734925760 posted
Hi,
According to your description, you want to login website via FaceBook. So far as I know, you need to open the
_AppStart.cshtml page and uncomment the code for the Facebook OAuth provider using the code below:
OAuthWebSecurity.RegisterFacebookClient(
appId: "",
appSecret: "");
There is a document about how to Logging In Using External Sites in an ASP.NET Web Pages (Razor) Site, please refer to the steps from the link below:
http://www.asp.net/web-pages/overview/security/enabling-login-from-external-sites-in-an-aspnet-web-pages-site
Hope it's useful for you.
Best Regards,
Michelle Ge