Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.0 KB
Raw Blame
{% extends "zerver/config_error/social-container.html" %}

{% block error_content %}
    <p>
        You are attempting to use the <strong>Discord auth backend</strong>, but it
        is not properly configured. To configure, please check the following:
    </p>
    <ul>
        <li>
            You have added
            <code>{{ root_domain_url }}/complete/discord/</code> as the callback URL
            in the OAuth application in Discord Developer Portal. You can register
            OAuth apps at <a href="https://discord.com/developers/applications">Discord
            Developer Portal</a>.
        </li>
        <li>
            You have set <code>{{ client_id_key_name }}</code> in
            <code>{{ auth_settings_path }}</code> and
            <code>social_auth_discord_secret</code> in
            <code>{{ secrets_path }}</code> with the values from your OAuth
            application.
        </li>
        <li>
            Navigate back to the login page and attempt the Discord auth flow again.
        </li>
    </ul>
    {{ super() }}
{% endblock %}