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:
Vishnu Ks
2019-06-07 16:56:04 +05:30
committed by Tim Abbott
parent 5a4f7d9ade
commit 16a345a766
4 changed files with 29 additions and 7 deletions

View File

@@ -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 %}