SignIn Using Social Logins Aspnet core 2.2 https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/google-logins?view=aspnetcore-2.2 https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/facebook-logins?view=aspnetcore-2.2 Follow the above link to create an app and get the clientId and secret from google. and AppId and App secret from facebook. Facebook Alone To integrate login using facebook alone just add the below lines In ConfigureServices method services.AddAuthentication(op=> { op.DefaultChallengeScheme = FacebookDefaults.AuthenticationScheme; op.DefaultSignInScheme = CookieAuthenticationDefaults.AuthenticationScheme; op.DefaultAuthenticateScheme = CookieAuthenticationDefaults.AuthenticationScheme; ...
I jot down whatever I learn from different sources.Written for personal use. But anyone can learn.