{% extends "oauth2_provider/base.html" %} {% block body %}
{% if not error %}
{{company_name}}

Authorize {{ application.name }}?

{% csrf_token %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% endif %} {% endfor %}

Application requires following permissions

    {% for scope in scopes_descriptions %}
  • {{ scope }}
  • {% endfor %}
{{ form.errors }} {{ form.non_field_errors }}
{% else %}

Error: {{ error.error }}

{{ error.description }}

{% endif %}
{% endblock %}