Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Commit

Permalink
Reacting to Mvc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkm committed Mar 29, 2016
1 parent f4b2548 commit 9010dd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public IActionResult ExternalLogin(string provider, string returnUrl = null)
// 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);
}

//
Expand Down
2 changes: 1 addition & 1 deletion samples/IdentitySample.Mvc/Controllers/ManageController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public IActionResult LinkLogin(string provider)
// 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);
}

//
Expand Down

0 comments on commit 9010dd4

Please sign in to comment.