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
..
2018-07-09 15:45:45 +05:30
2018-06-19 10:48:38 -07:00
2018-05-22 08:30:19 -07:00
2018-07-10 15:42:26 +05:30
2018-05-13 17:47:21 -07:00
2018-05-10 14:19:49 -07:00
2018-07-03 20:15:34 +02:00
2017-11-21 20:56:40 -08:00
2018-05-10 14:19:49 -07:00
2018-05-17 11:11:55 -07:00
2018-05-10 14:19:49 -07:00
2018-05-20 20:04:16 -07:00
2018-05-10 14:19:49 -07:00
2018-07-10 15:42:26 +05:30
2018-05-12 15:22:39 -07:00
2018-06-04 11:35:37 -07:00
2018-05-10 14:19:49 -07:00
2018-05-15 19:07:32 -07:00
2017-11-21 20:45:52 -08:00
2018-06-16 08:50:49 -07:00
2018-05-10 14:19:49 -07:00
2018-05-21 22:41:00 -07:00
2018-06-03 09:30:59 -07:00
2018-05-10 14:19:49 -07:00
2018-05-10 14:19:49 -07:00
2018-07-03 16:54:46 +02:00
2018-05-10 14:19:49 -07:00
2018-07-10 10:30:23 +05:30
2018-07-09 15:45:45 +05:30
2018-07-10 15:53:15 +05:30
2018-05-12 15:22:39 -07:00
2018-05-10 14:19:49 -07:00
2018-05-10 14:19:49 -07:00
2018-06-16 08:50:49 -07:00
2017-11-25 10:06:28 -08:00
2018-05-30 08:57:26 -07:00
2018-07-10 16:00:19 +05:30
2018-05-10 14:19:49 -07:00
2018-07-01 04:01:17 -07:00
2017-11-22 01:32:46 -08:00
2018-03-21 18:03:05 -07:00
2018-05-14 10:46:21 -07:00
2018-02-13 11:40:51 -08:00
2018-05-12 15:22:39 -07:00
2018-05-28 12:25:57 -07:00
2018-05-31 13:00:34 -07:00
2017-12-26 09:09:31 -05:00
2018-07-10 16:49:00 +05:30
2018-05-21 08:45:48 -07:00
2018-07-03 16:54:46 +02:00
2018-05-23 11:53:22 +05:30
2018-07-03 20:11:05 +02:00
2018-05-25 10:33:40 -07:00
2017-11-18 16:09:04 -08:00
2018-07-03 16:54:46 +02:00
2018-03-28 10:39:05 -07:00
2018-05-12 15:22:39 -07:00
2018-05-10 14:19:49 -07:00
2017-11-18 16:09:04 -08:00
2018-05-03 21:11:02 -07:00
2018-05-14 05:16:22 +05:30
2018-05-10 14:19:49 -07:00
2018-04-13 17:51:45 -07:00
2017-11-28 17:15:14 -08:00
2018-06-23 12:03:30 -07:00
2018-05-10 14:19:49 -07:00
2018-07-01 07:08:13 -07:00
2018-06-02 09:01:55 -07:00
2018-07-10 15:42:26 +05:30
2018-05-21 22:41:00 -07:00
2017-11-28 17:02:24 -08:00
2018-06-03 16:49:59 -07:00
2018-05-15 19:11:22 -07:00
2017-11-18 16:09:04 -08:00
2018-03-15 12:54:43 -07:00
2018-05-12 15:22:39 -07:00
2018-05-12 15:22:39 -07:00
2018-07-03 16:54:46 +02:00
2018-07-03 16:54:46 +02:00
2018-07-09 14:17:53 +05:30
2018-06-06 13:29:42 -07:00
2018-05-12 15:22:39 -07:00
2018-07-03 16:54:46 +02:00
2018-04-25 08:58:55 -07:00
2017-11-18 16:09:04 -08:00
2018-05-10 14:19:49 -07:00
2018-05-12 15:22:39 -07:00
2018-05-10 14:19:49 -07:00
2018-06-16 09:37:49 -07:00
2018-05-10 14:19:49 -07:00
2018-07-03 16:54:46 +02:00
2018-04-19 21:50:17 -07:00
2018-05-10 14:19:49 -07:00
2018-06-19 11:25:23 -07:00
2018-05-12 15:22:39 -07:00
2018-05-24 11:31:36 -07:00
2018-07-10 11:18:05 +05:30
2018-07-01 20:32:36 -04:00