{#
Copyright 2024, 2025 New Vector Ltd.
Copyright 2022-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.
-#}
{% extends "base.html" %}
{% from "components/idp_brand.html" import logo %}
{% block content %}
  {% if force_localpart %}
     
          {{ _("mas.upstream_oauth2.register.import_data.description", server_name=branding.server_name) }}
         
          {{ _("mas.upstream_oauth2.register.choose_username.description") }}
         
            {{- upstream_oauth_link.human_account_name -}}
          
          {{ _("mas.upstream_oauth2.register.import_data.heading") }}
        
        
          {{ _("mas.upstream_oauth2.register.signup_with_upstream.heading", human_name=upstream_oauth_provider.human_name) }}
        
      
          {{ _("mas.upstream_oauth2.register.choose_username.heading") }}
        
        
          {{- _("mas.upstream_oauth2.register.provider_name", human_name=upstream_oauth_provider.human_name) -}}
        
        {% if upstream_oauth_link.human_account_name %}