Subject: Most Direct Way of Getting AuthnRequest from SAMLRequest URL paramater
Date: 2016-02-21 00:38:10
From: Daryl Jensen
Source: direct-way-getting-authnrequest-samlrequest-url-paramater
----------------------------------------------------------------------

I'm using the .Net 2.0 version of this component and I'm trying to load an AuthnRequest object based on the URL coming from my service provider.

I see a create method for POST, but is that trying to pull the auth from the request body?  I'm trying the following, but it results in an erorr that Variable 'SAMLRequest' is missing.

AuthnRequest samlR = AuthnRequest.CreateFromHttpPost(Request);

The URL is like this:

http://mydomain.com/test?SAMLRequest=fdGxbsIwEAbgHYl3sLwTGysEsAJSVB...

Am I simply heading dow the wrong path?  Should I be loading the request via a different method in this library?

Any input appreciated.

Thanks,

Greg

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index