+
+ {% if client_user %}
+
+ You have already authorized {{ client.name }}.
+
-
+
-
- {{ client.name }} has access to the following information:
-
-
- {% for scope in client.get_scopes() %}
-
- {% if scope == Scope.AVATAR_URL and user_info[scope.value] %}
- avatar:
![]({{ user_info[scope.value] }})
- {% elif scope == Scope.EMAIL %}
- {{ scope.value }}:
-
- {{ user_info[scope.value] }}
-
- {% elif scope == Scope.NAME %}
- {{ scope.value }}:
{{ user_info[scope.value] }}
- {% endif %}
-
- {% endfor %}
-
- {% else %}
-
- {{ client.name }} will receive your following information:
-
-
-
- {% for scope in client.get_scopes() %}
-
- {% if scope == Scope.AVATAR_URL and current_user.profile_picture_id %}
- avatar:
![]({{ current_user.profile_picture_url() }})
- {% elif scope == Scope.EMAIL %}
- {{ scope.value }}:
- A random alias or your original email
- {% elif scope == Scope.NAME %}
- {{ scope.value }}:
{{ current_user.name }}
- {% endif %}
-
- {% endfor %}
+
+ {{ client.name }} has access to the following information:
+
+
+ {% for scope in client.get_scopes() %}
+
+ {% if scope == Scope.AVATAR_URL and user_info[scope.value] %}
+ avatar:
![]({{ user_info[scope.value] }})
+ {% 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 %}
- {% if client_user %}
-