{% extends "_layout.html.j2" %} {%- block head -%} {%- endblock -%} {%- block title -%} Authorize client {%- endblock -%} {%- block content -%}

Authorize {{ client_name }}

{{ user_avatar }}
⇄
{{ client_avatar }}
Signed in as {{ user_id }}. Switch accounts

{{ client_name }} ({{ client_uri.domain().unwrap() }}) would like your permission to: {{ scopes }}

{% match (&policy_uri, &tos_uri) %} {% when (Some(policy_uri), Some(tos_uri)) %}

{{ client_name }}'s policies and terms of service apply.

{% when (Some(policy_uri), None) %}

{{ client_name }}'s policies apply.

{% when (None, Some(tos_uri)) %}

{{ client_name }}'s terms of service apply.

{% when (None, None) %}

Make sure you trust {{ client_name }} with access to your data.

{% endmatch %}
{%- endblock -%}