diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/saml2/post_response.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/saml2/post_response.html b/templates/saml2/post_response.html new file mode 100644 index 0000000..f822410 --- /dev/null +++ b/templates/saml2/post_response.html @@ -0,0 +1,13 @@ +{% extends "master.html" %} +{% block main %} +<div class="col-sm-5 col-md-6 col-lg-7 details"> + <form id="saml-response" method="post" action="{{ action }}"> + {% for field in fields %} + <input type="hidden" name="{{ field[0] }}" value="{{ field[1] }}"> + </input> + {% endfor %} + <button type="submit">{{ submit }}</button> + </form> + <script>document.getElementById("saml-response").submit();</script> +</div> +{% endblock %} |