<pre> [AllowAnonymous] public async Task<ActionResult> ExternalLoginCallback(string returnUrl) { var loginInfo = await AuthenticationManager.GetExternalLoginInfoAsync(); if (loginInfo == null) { return RedirectToAction("Login"); }
private IAuthenticationManager AuthenticationManager { get { return HttpContext.GetOwinContext().Authentication; } }
Install-Package Microsoft.AspNet.Identity.Owin -Version 2.2.3
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)