mirror of https://github.com/zulip/zulip.git
auth: Update authentication setup links for github and google config error.
The URL used earlier no longer consists of authentication guide for github and google. So, two different permalinks to google and github in authentication.html are added to config_error.html to direct the user to proper authentication setup guide.
This commit is contained in:
parent
900f98c0c5
commit
4cb94bf483
|
@ -51,6 +51,11 @@
|
||||||
{% if google_error %}
|
{% if google_error %}
|
||||||
{% if development_environment %}
|
{% if development_environment %}
|
||||||
{{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_google_key"}) }}
|
{{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_google_key"}) }}
|
||||||
|
<p>
|
||||||
|
For more information, have a look at
|
||||||
|
the <a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#google">authentication
|
||||||
|
setup guide</a> for the development environment.
|
||||||
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GOOGLE_KEY"}) }}
|
{{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GOOGLE_KEY"}) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -59,19 +64,18 @@
|
||||||
{% if github_error %}
|
{% if github_error %}
|
||||||
{% if development_environment %}
|
{% if development_environment %}
|
||||||
{{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_github_key"}) }}
|
{{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_github_key"}) }}
|
||||||
|
<p>
|
||||||
|
For more information, have a look at
|
||||||
|
the <a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#github">authentication
|
||||||
|
setup guide</a> for the development environment.
|
||||||
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GITHUB_KEY"}) }}
|
{{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GITHUB_KEY"}) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if google_error or github_error %}
|
{% if google_error or github_error %}
|
||||||
{% if development_environment %}
|
{% if not development_environment %}
|
||||||
<p>
|
|
||||||
For more information, have a look at
|
|
||||||
the <a href="https://zulip.readthedocs.io/en/latest/subsystems/settings.html#testing-google-github-authentication">authentication
|
|
||||||
setup guide</a> for the development environment.
|
|
||||||
</p>
|
|
||||||
{% else %}
|
|
||||||
<p>
|
<p>
|
||||||
For more information, have a look at
|
For more information, have a look at
|
||||||
our <a href="https://zulip.readthedocs.io/en/latest/production/authentication-methods.html">authentication
|
our <a href="https://zulip.readthedocs.io/en/latest/production/authentication-methods.html">authentication
|
||||||
|
|
Loading…
Reference in New Issue