forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthorize.html
More file actions
27 lines (27 loc) · 1.05 KB
/
Copy pathauthorize.html
File metadata and controls
27 lines (27 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% extends "base.html" %}
{% load static %}
{% block title %}Request for Permission{% 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 %}