You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
717 B
HTML

{% extends 'base.html' %}
{% block content %}
{% if false %}
<div class="container">
<h1>Logged in</h1>
<p class="lead">
Contents of the most recent SAML assertion:
</p>
<div class="col-md-8">
<table class="table">
{% if session.saml_attributes %}
{% for attribute in session.saml_attributes.keys() %}
<tr>
<td>{{ attribute }}</td>
<td>{{ session.saml_attributes[attribute][0] }}</td>
</tr>
{% endfor %}
{% endif %}
</table>
</div>
</div>
{% else %}
<p class="lead">Select the IdP you want to use to authenticate:</p>
<ol>
{% for idp in idp_dict.keys() %}
<li><a href="/saml/login/{{idp}}">{{idp}}</a></li>
{% endfor %}
</ol>
{% endif %}
{% endblock %}