ruby-saml-idp icon indicating copy to clipboard operation
ruby-saml-idp copied to clipboard

Why POST the SAMLResponse to the SP and not redirect?

Open michaelfranzl opened this issue 4 years ago • 1 comments

The provided HTML form auto-POSTs the SAMLResponse on page load (triggered by Javascript). I wonder why this was preferred over a redirect?

References:

https://github.com/lawrencepit/ruby-saml-idp/blob/master/app/controllers/saml_idp/idp_controller.rb#L26 https://github.com/lawrencepit/ruby-saml-idp/blob/master/app/views/saml_idp/idp/saml_post.html.erb

michaelfranzl avatar Oct 14 '21 06:10 michaelfranzl

Hi @michaelfranzl, did you find an answer? Do you know if a redirect instead of post works?

pdany1116 avatar Sep 04 '24 13:09 pdany1116