django-oidc-provider/example_project/provider_app/templates/oidc_provider/authorize.html

30 lines
698 B
HTML
Raw Normal View History

2015-04-28 17:55:35 +00:00
{% extends 'base.html' %}
{% block content %}
2015-04-30 20:03:39 +00:00
<div class="panel panel-default">
2015-04-28 17:55:35 +00:00
<div class="panel-heading">
<h3 class="panel-title">Request for Permission</h3>
</div>
<div class="panel-body">
<p>Client <strong>{{ client.name }}</strong> would like to access this information of you ...</p>
<form method="post" action="{% url 'oidc_provider:authorize' %}">
{% csrf_token %}
{{ hidden_inputs }}
<ul>
{% for scope in params.scope %}
<li>{{ scope | capfirst }}</li>
{% endfor %}
</ul>
<input name="allow" class="btn btn-primary btn-lg btn-block" type="submit" value="Authorize" />
</form>
</div>
</div>
{% endblock %}