Mid ASP.NET Core

External logins (OAuth, OpenID Connect)?

Use built-in providers:

services.AddAuthentication()

.AddGoogle(options => {

options.ClientId = "...";

options.ClientSecret = "...";

});

Also supports:

  • Facebook
  • Microsoft
  • Twitter
  • OpenID Connect
  • Azure AD

Use RemoteAuthenticationHandler<T> or Identity scaffolding.

More from ASP.NET Core Tutorial

All questions for this course