Reacting to Mvc changes

This commit is contained in:
Pranav K 2016-03-28 17:48:17 -07:00
parent f4b2548565
commit 9010dd4284
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ namespace IdentitySample.Controllers
// Request a redirect to the external login provider.
var redirectUrl = Url.Action("ExternalLoginCallback", "Account", new { ReturnUrl = returnUrl });
var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl);
return Challenge(provider, properties);
return Challenge(properties, provider);
}
//

View File

@ -294,7 +294,7 @@ namespace IdentitySamples.Controllers
// Request a redirect to the external login provider to link a login for the current user
var redirectUrl = Url.Action("LinkLoginCallback", "Manage");
var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl, _userManager.GetUserId(User));
return Challenge(provider, properties);
return Challenge(properties, provider);
}
//