{% extends "zerver/portico.html" %} {% block title %} {{ _("Configuration error") }} | Zulip {% endblock %} {% block portico_content %}

{{ _("Configuration error") }}


{% if error_name == "ldap_error_realm_is_none" %} {% trans %} You are trying to log in using LDAP without creating an organization first. Please use EmailAuthBackend to create your organization and then try again. {% endtrans %} {% endif %} {% if error_name == "smtp_error" %}

It appears there are problems with the email configuration.

{% if not development_environment %}

See /var/log/zulip/errors.log for more details on the error.

You may also want to test your email configuration, as described in the Production installation docs.

{% else %}

Please have a look at our setup guide for forwarding emails sent in development environment to an email account.

{% endif %} {% endif %} {% if error_name == "dev_not_supported_error" %} {% include "zerver/authentication_backends/dev-not-supported-error.html" %} {% endif %} {% if has_error_template %} {% if development_environment %} {% with %} {% set settings_path = secrets_path %} {% set client_id_key_name = "social_auth_" + social_backend_name + "_key" %} {% include "zerver/authentication_backends/" + social_backend_name + "-error.html" %} {% endwith %}

For more information, have a look at the authentication setup guide for the development environment.

{% else %} {% with %} {% set client_id_key_name = "SOCIAL_AUTH_" + social_backend_name.upper() + "_KEY" %} {% include "zerver/authentication_backends/" + social_backend_name + "-error.html" %} {% endwith %}

For more information, have a look at our authentication setup guide and the comments in {{ settings_comments_path }}.

{% endif %} {% endif %} {% if social_backend_name == "saml" %}

SAML authentication is either not enabled or misconfigured. Have a look at our setup guide.

{% if development_environment %}

See also the SAML guide for the development environment.

{% endif %} {% endif %} {% if error_name == "remoteuser_error_backend_disabled" %}

Authentication via the REMOTE_USER header is disabled in `/etc/zulip/settings.py`.

{% endif %} {% if error_name == "remoteuser_error_remote_user_header_missing" %}

The REMOTE_USER header is not set.

{% endif %} {% if error_name == "oidc_error" %}

The OpenID Connect backend is not configured correctly.

{% endif %}

After making your changes, remember to restart the Zulip server.

Refresh to try again or click here to go back to the login page.

{% endblock %}