mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
auth: Document setting social_auth_github_key in dev-secrets.
This is a simpler configuration method for development, because dev_settings.py isn't something the developer can edit.
This commit is contained in:
@@ -53,7 +53,11 @@
|
||||
{% endif %}
|
||||
|
||||
{% if github_error %}
|
||||
{{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path}) }}
|
||||
{% 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"}) }}
|
||||
{% 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"}) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if google_error or github_error %}
|
||||
|
||||
Reference in New Issue
Block a user