23 lines
768 B
Handlebars
23 lines
768 B
Handlebars
|
<!--
|
||
|
actions.handlebars
|
||
|
|
||
|
This file provides a template for POST-binding actions.
|
||
|
In order to make it more flexible, there are serveral parameters you can set.
|
||
|
|
||
|
entityEndpoint: either service or identity provider
|
||
|
actionType: declares the type of actions (SAMLRequest/SAMLResponse)
|
||
|
actionValue: value for action (value should be base64 encoded before subsitution)
|
||
|
|
||
|
-->
|
||
|
<form id="saml-form" method="post" action="{{entityEndpoint}}" autocomplete="off">
|
||
|
<input type="hidden" name="{{type}}" value="{{context}}" />
|
||
|
{{#if relayState}}
|
||
|
<input type="hidden" name="RelayState" value="{{relayState}}" />
|
||
|
{{/if}}
|
||
|
</form>
|
||
|
<script type="text/javascript">
|
||
|
// Automatic form submission
|
||
|
(function () {
|
||
|
document.forms[0].submit();
|
||
|
})();
|
||
|
</script>
|