@using System.Collections.Generic @using Microsoft.AspNetCore.Http @using Microsoft.AspNetCore.Http.Authentication @model LoginViewModel @inject SignInManager SignInManager @{ ViewData["Title"] = "Log in"; }

@ViewData["Title"].

Use a local account to log in.


Register as a new user?

Forgot your password?

Use another service to log in.


@{ var loginProviders = SignInManager.GetExternalAuthenticationSchemes().ToList(); if (loginProviders.Count == 0) {

There are no external authentication services configured. See this article for details on setting up this ASP.NET application to support logging in via external services.

} else {

@foreach (var provider in loginProviders) { }

} }
@section Scripts { @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); } }