How to sign user in to IdP?

May 13, 2015 at 1:36 PM
Edited May 13, 2015 at 2:42 PM
I added the config settings. And tried with the following code from my controller.
var signonHandler = new Saml20SignonHandler();
signonHandler.ProcessRequest(System.Web.HttpContext.Current);
And there IdP sends error response "Error Message: Message did not meet security requirements". So may be I am missing something. Please provide me the code that will be used to validate a user using the package.

I think the current context is the context required in the ProcessRequest(). Please correct me if I am wrong.

And, I talked to my IdP guys, they say the request doesn't need to be signed. Is there an option to turn that off? Is there, then please let me know.

Thanks,
Sovan
Coordinator
May 21, 2015 at 7:52 PM
There is an "omitAssertionSignatureCheck" option you can use on the identityProvider's <add> element to ignore signature checks. I believe that is what you are looking for.

See: https://saml2.codeplex.com/wikipage?title=IdentityProviders%20Element&referringTitle=Documentation