summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-02-23 18:41:13 -0500
committerSimo Sorce <simo@redhat.com>2014-02-24 21:54:57 -0500
commit953a4e418b1bdcbfddaf52d27a4cba9e9d8062e5 (patch)
tree8265f5fe966797619330622b04266a5941a54ba0 /templates
parenteaad8751cf92a29a7ab398c6b20e96d4a53b9d69 (diff)
downloadipsilon-953a4e418b1bdcbfddaf52d27a4cba9e9d8062e5.tar.gz
ipsilon-953a4e418b1bdcbfddaf52d27a4cba9e9d8062e5.tar.xz
ipsilon-953a4e418b1bdcbfddaf52d27a4cba9e9d8062e5.zip
Initial SAML2 provider
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/saml2/post_response.html13
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 %}