{# Copyright 2022 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #} {% extends "base.html" %} {% block content %} {% set client_name = client.client_name | default(client.client_id) %}
{% if client.logo_uri %} {% else %} {% endif %}

Allow access to your account?

{{ client_name }} at {{ grant.redirect_uri | simplify_url }} wants to access your account. This will allow {{ client_name }} to:

Make sure that you trust {{ client_name }}. You may be sharing sensitive information with this site or app. {% if client.policy_uri or client.tos_uri %} Find out how {{ client_name }} will handle your data by reviewing its {% if client.policy_uri %} privacy policy{% if not client.tos_uri %}.{% endif %} {% endif %} {% if client.policy_uri and client.tos_uri%} and {% endif %} {% if client.tos_uri %} terms of service. {% endif %} {% endif %}
{{ button.button(text=_("action.continue")) }}

{{ _("mas.not_you", username=current_session.user.username) }}

{{ logout.button(text=_("action.sign_out"), csrf_token=csrf_token, post_logout_action=action, as_link=true) }}
{{ back_to_client.link( text=_("action.cancel"), kind="tertiary", uri=grant.redirect_uri, mode=grant.response_mode, params=dict(error="access_denied", state=grant.state) ) }}
{% endblock content %}