Skip to content

Commit

Permalink
Restore functionality of RelayState and return parameters to SPs
Browse files Browse the repository at this point in the history
  • Loading branch information
thijskh committed Oct 16, 2023
1 parent 35612d3 commit 75408fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function sendAction()
return new Response($this->twig->render('@theme/Authentication/View/Proxy/form.html.twig', [
'action' => $action,
'message' => $encodedMessage,
'xtra' => '<input type="hidden" name="RelayState" value="relaystate">',
'name' => 'SAMLResponse',
'preventAutoSubmit' => true
]), 200);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
</p>
<form id="ProcessForm" method="post" action="{{ action }}">
<input type="hidden" name="{{ name }}" value="{{ message }}">
{{ xtra|raw }}
<noscript>
<p>
<strong>{{ 'note'|trans }}:</strong>
Expand Down

0 comments on commit 75408fb

Please sign in to comment.