You can update the HTML form used for the HTTP Post using the HTTPPostBinding class under the ComponentSpace.SAML2.Bindings namespace. The HTTPPostBinding.HTMLFormTemplate static property specifies the HTML form template to use. The default is: @" <html> <body> <noscript> <p> Since your browser doesn't support JavaScript, you must press the Continue button to proceed. </p> </noscript> <form id=""samlform"" action=""{url}"" method=""post"" target=""_self""> <div> {hiddenFormVariables} </div> <noscript> <div> <input type=""submit"" value=""Continue""/> </div> </noscript> </form> </body> <script> function submitForm() { document.forms.samlform.submit(); } if (document.readyState === ""loading"") { document.addEventListener(""DOMContentLoaded"", submitForm); } else { submitForm(); } </script> </html> "; Make sure to preserve the {url} and {hiddenFormVariables} insertion parameters.
Regards ComponentSpace Development
|