canaille-globuzma/web/templates/authorize.html
2020-08-17 11:56:03 +02:00

28 lines
588 B
HTML

{% extends 'base.html' %}
{% block content %}
<div class="ui segment">
<p>The application <strong>{{grant.client.client_name}}</strong> is requesting:
<strong>{{ grant.request.scope }}</strong>
</p>
<p>
from You - a.k.a. <strong>{{ user.username }}</strong>
</p>
<form action="" method="post">
<label>
<input type="checkbox" name="confirm">
<span>Consent?</span>
</label>
{% if not user %}
<p>You haven't logged in. Log in with:</p>
<div>
<input type="text" name="username">
</div>
{% endif %}
<br>
<button>Submit</button>
</form>
</div>
{% endblock %}