Tim McCormack
7c7792f92a
fix: Delete JWTs and other cookies when SafeSessions deletes session cookie ( #29857 )
...
This is more correct and may reduce the likelihood of perpetuating a bad
mixed-auth state.
In general, we should probably be modifying session and JWT cookies in
sync at all times, never individually. This specific code probably won't
make anything worse, but a clean reset might improve user experience in
the rare cases where someone somehow gets their browser into a weird
state.
- Switch from `response.set_cookie` with past expiry to just using the
`response.delete_cookie` method.
- Docstring improvements.
ref: ARCHBOM-2030 (internal)
2022-02-03 15:00:23 +00:00
..
2021-11-15 10:44:41 -05:00
2021-12-06 14:05:13 +05:00
2021-10-27 13:07:36 +05:00
2022-01-25 16:03:54 +00:00
2021-12-08 14:13:27 +05:00
2021-03-15 18:29:40 +05:00
2021-12-08 14:13:27 +05:00
2021-12-06 14:05:13 +05:00
2021-03-05 08:11:58 -05:00
2021-02-03 14:56:09 +05:00
2021-03-16 14:14:46 +05:00
2021-10-27 13:07:36 +05:00
2022-01-31 11:09:41 -05:00
2022-01-26 19:28:14 -05:00
2021-12-06 14:06:57 +05:00
2021-09-21 13:45:26 +00:00
2021-11-22 17:49:57 +00:00
2021-12-06 14:06:57 +05:00
2021-12-06 14:06:57 +05:00
2021-12-08 14:13:27 +05:00
2022-01-17 19:41:11 +05:30
2022-01-19 15:11:41 -05:00
2021-07-27 23:25:27 +05:00
2021-12-09 13:32:06 +05:00
2022-01-25 16:03:54 +00:00
2021-12-16 09:04:26 +01:00
2021-10-27 13:07:36 +05:00
2021-12-09 13:32:06 +05:00
2022-01-31 15:58:27 +05:00
2022-02-01 17:51:01 +05:00
2021-12-09 13:35:36 +05:00
2022-01-25 16:03:54 +00:00
2021-12-09 13:35:36 +05:00
2021-04-16 14:00:04 -04:00
2021-04-01 15:00:26 +05:00
2021-03-16 14:15:01 +05:00
2021-12-16 09:04:26 +01:00
2021-12-09 13:37:27 +05:00
2021-03-05 08:11:58 -05:00
2022-01-26 19:48:55 +05:00
2021-12-09 13:37:27 +05:00
2022-01-04 15:37:17 +05:00
2021-02-04 17:10:38 +05:00
2021-02-04 17:10:38 +05:00
2021-10-28 16:45:53 +05:00
2021-12-09 13:37:27 +05:00
2022-02-03 15:00:23 +00:00
2022-01-28 15:13:46 -05:00
2021-10-28 16:45:53 +05:00
2021-04-01 15:00:49 +05:00
2021-10-28 16:45:53 +05:00
2021-12-09 13:39:45 +05:00
2021-04-01 19:27:38 +05:00
2021-12-02 16:38:12 -05:00
2022-02-02 13:53:06 -05:00
2022-02-03 15:00:23 +00:00
2021-12-21 14:05:55 +05:00
2021-11-30 15:08:25 +05:00
2021-07-27 11:55:00 +05:00
2021-10-22 13:55:51 +05:00
2022-01-28 08:00:18 -05:00
2022-01-26 19:28:14 -05:00
2021-04-07 18:57:52 +05:00
2021-12-01 13:52:57 +05:00