{% extends "_centered_form.html" %} {% load static crispy_forms_tags %} {% block title %}{{block.super }} - OpenID-Connect authorization{% endblock %} {% block form_icon %}{% endblock %} {% block form_title %}{{ client.name }}{% endblock %} {% block form_content %} {{ block.super }}
{% for scope in scopes %} {% if not client.scope or scope.scope in client.scope %}
{{ scope.name }}
{{ scope.description }}
{% else %}
{{ scope.name }}
The {{ client.name }} client is not allowed to request the {{ scope.scope }} scope.
{% endif %} {% endfor %}
{% csrf_token %} {% for input in hidden_inputs.splitlines %} {% if 'name="scope"' in input %} {% else %} {{ input|safe }} {% endif %} {% endfor %}
{% endblock %}