{#
Copyright 2024, 2025 New Vector Ltd.
Copyright 2023, 2024 The Matrix.org Foundation C.I.C.

SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
-#}

{% macro list(scopes) %}
  <ul>
    {% for scope in (scopes | split(" ")) %}
      {% if scope == "openid" %}
        <li>{{ icon.user_profile() }}<p>{{ _("mas.scope.view_profile") }}</p></li>
      {% elif scope == "urn:mas:graphql:*" %}
        <li>{{ icon.info() }}<p>{{ 