getting error in line number : 10
you can find code in : https://www.componentspace.com/saml-for-asp-net
- public ActionResult AssertionConsumerService() {
- bool isInResponseTo;
- string partnerName;
- string authnContext;
- string userName;
- IDictionary attributes;
- string relayState;
-
- SAMLServiceProvider.ReceiveSSO(
- Request,
- out isInResponseTo,
- out partnerName,
- out authnContext,
- out userName,
- out attributes,
- out relayState);
- Common.Email = userName;
- var applicationUserManager = HttpContext.GetOwinContext().Get();
- return RedirectToAction("ControllerMethod", "ControllerPage", new {
- value = userName
- });
- }