@model Top4HireDrivers.Models.ExternalLoginListViewModel @using Microsoft.Owin.Security

Use another service to log in.


@{ var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes(); 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 { using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = Model.ReturnUrl })) { @Html.AntiForgeryToken()

@foreach (AuthenticationDescription p in loginProviders) { }

} } }