zulip/docs/production
Aditya Bansal 9b485f3ef4 auth: Fix bug with subdomains and GitHub auth causing apparent logouts.
This adds a new settings, SOCIAL_AUTH_SUBDOMAIN, which specifies which
domain should be used for GitHub auth and other python-social-auth
backends.

If one is running a single-realm Zulip server like chat.zulip.org, one
doesn't need to use this setting, but for multi-realm servers using
social auth, this fixes an annoying bug where the session cookie that
python-social-auth sets early in the auth process on the root domain
ends up masking the session cookie that would have been used to
determine a user is logged in.  The end result was that logging in
with GitHub on one domain on a multi-realm server like zulipchat.com
would appear to log you out from all the others!

We fix this by moving python-social-auth to a separate subdomain.

Fixes: #9847.
2018-07-10 16:49:00 +05:30
..
authentication-methods.md docs/production: Revise doc on authentication methods. 2018-01-18 17:45:03 -08:00
deployment.md docs: Add production documentation on deployment options. 2018-05-22 11:31:48 -07:00
email.md docs: Document ADD_TOKENS_TO_NOREPLY_ADDRESS in email.md. 2018-06-23 12:03:30 -07:00
expensive-migrations.md docs: Use `orphan` to directly exclude pages from toctree. 2018-01-24 14:37:17 -08:00
index.rst docs: Add production documentation on deployment options. 2018-05-22 11:31:48 -07:00
install-existing-server.md docs: Document production support for Debian Stretch and Ubuntu Bionic. 2018-06-05 08:09:29 -07:00
install.md docs: Document production support for Debian Stretch and Ubuntu Bionic. 2018-06-05 08:09:29 -07:00
maintain-secure-upgrade.md docs: Point Docker users to the Docker upgrade docs. 2018-07-01 06:58:44 -07:00
mobile-push-notifications.md docs: Fix typos in mobile-push-notifications. 2018-06-30 13:48:01 -07:00
multiple-organizations.md auth: Fix bug with subdomains and GitHub auth causing apparent logouts. 2018-07-10 16:49:00 +05:30
overview.md docs: Document production support for Debian Stretch and Ubuntu Bionic. 2018-06-05 08:09:29 -07:00
password-strength.md docs: Use `orphan` to directly exclude pages from toctree. 2018-01-24 14:37:17 -08:00
postgres.md docs: Add production documentation on deployment options. 2018-05-22 11:31:48 -07:00
requirements.md docs: Document production support for Debian Stretch and Ubuntu Bionic. 2018-06-05 08:09:29 -07:00
security-model.md Replace all user-facing references to "invite-only" with "private". 2018-06-12 13:37:45 -04:00
settings.md docs: Rename customize.html to settings.html. 2018-02-19 09:55:49 -08:00
ssl-certificates.md prod docs: Call out more the need for a chained cert bundle. 2018-04-16 11:34:23 -07:00
troubleshooting.md docs: Rename customize.html to settings.html. 2018-02-19 09:55:49 -08:00
upload-backends.md docs: Clarify setup documentation for S3 backend. 2018-05-17 07:20:07 -07:00