Subject: SAML Alternative to AuthnRequest.Redirect
Date: 2018-01-24 04:23:47
From: tomgreco
Source: saml-alternative-authnrequest-redirect

The way I'm using your library is in a method where I don't have access to the Page element.

If I try to access HttpContext.Current.Handler as Page it fails because HttpContext.Current is null at that point in the page lifecycle.

How can I call authnRequest.redirect without access to the current page.response object? 

I'm thinking I'll need to perform the http-redirect myself.  How can I extract the SAMLRequest generated by authnRequest to put in the url?


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