Update authorize template in docs.
This commit is contained in:
parent
e1fa322c4f
commit
a6fc1a717e
1 changed files with 3 additions and 2 deletions
|
@ -13,17 +13,18 @@ You can copy the sample html here and edit them with your own styles.
|
||||||
<p>Client <strong>{{ client.name }}</strong> would like to access this information of you ...</p>
|
<p>Client <strong>{{ client.name }}</strong> would like to access this information of you ...</p>
|
||||||
|
|
||||||
<form method="post" action="{% url 'oidc_provider:authorize' %}">
|
<form method="post" action="{% url 'oidc_provider:authorize' %}">
|
||||||
|
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
{{ hidden_inputs }}
|
{{ hidden_inputs }}
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for scope in params.scope %}
|
{% for scope in params.scope %}
|
||||||
<li>{{ scope | capfirst }}</li>
|
<li><strong>{{ scope.name }}</strong><br><i>{{ scope.description }}</i></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<input type="submit" value="Decline" />
|
||||||
<input name="allow" type="submit" value="Authorize" />
|
<input name="allow" type="submit" value="Authorize" />
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue