{% extends 'default.html' %} {% block title %} Authorization {% endblock %} {% block head %} {% endblock %} {% block default_content %}
{% if client_user %}
You have already authorized {{ client.name }}.

{{ client.name }} has access to the following info:
{% for scope in client.get_scopes() %}
{% if scope == Scope.AVATAR_URL and user_info[scope.value] %} avatar: {% elif scope == Scope.EMAIL %} {{ scope.value }}: {{ user_info[scope.value] }} {% elif scope == Scope.NAME %} {{ scope.value }}: {{ user_info[scope.value] }} {% endif %}
{% endfor %}
{% else %} {% if client.icon_id %}
{% endif %}
{{ client.name }} will receive the following info
You can customize the info sent to this app.

{% if current_user.can_create_new_alias() %}
OR
Alias can use letter, number, dash and cannot be empty {% endif %}
OR
{% if current_user.profile_picture_id %}
OR
{% endif %} {% endif %} {% if client_user %} {% else %} {% endif %}
{% endblock %}