{# Confirm an MCP client's access (ActingWeb 4.0). Shown when a sign-in could not be bound to the browser that showed the authorization form: the client may have skipped the form, or the user signed in from another browser. Nothing is granted until the user approves. Variables: client_name (chosen by the client, not verified), client_id, redirect_host (where the client receives the code: verified, show it), trust_type, trust_type_display_name, trust_type_description, confirm_token, form_action. A refused answer renders the page with only ``error`` (a sentence for the user) and no form. An application overrides this template by placing its own aw-oauth-confirm.html in its templates directory. It must post `token` (confirm_token) and `decision` ("approve" or "decline") to form_action, from the same site. #}
{{ error }}
{% else %}{{ client_name|default('An application') }}
({{ client_id|default('') }})
It will receive access at {{ redirect_host|default('') }}.
Access level: {{ trust_type_display_name|default(trust_type) }}
{% if trust_type_description %}
{{ trust_type_description }}{% endif %}
Only approve if you just started connecting this application yourself.
{% endif %}