datatracker/ietf/templates/oidc_provider/authorize.html
2022-04-20 10:47:47 -05:00

28 lines
1 KiB
HTML

{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% extends "base.html" %}
{% load static %}
{% block title %}404 Not Found{% endblock %}
{% block content %}
<h1>Request for Permission</h1>
<p class="my-3">
Client <strong>{{ client.name }}</strong> would like to access this information
from your IETF database records:
</p>
<form method="post" action="{% url 'oidc_provider:authorize' %}">
{% csrf_token %}
<!-- [html-validate-disable-block void-style -- FIXME: django-oidc-provider uses outdated HTML] -->
{{ hidden_inputs }}
<ul>
{% for scope in scopes %}
<li>
<strong>{{ scope.name }}</strong>
<br>
<i>{{ scope.description }}</i>
</li>
{% endfor %}
</ul>
<button class="btn btn-primary" name="allow" type="submit" value="Authorize">Authorize</button>
<button class="btn btn-secondary float-end" type="submit">Decline</button>
</form>
{% endblock %}