Pierre Paridans
7df7ecae9b
[FIX] auth_totp,web: TOTP login from mobile apps
...
Since PR odoo/odoo#78857 , the TOTP authentication support is broken
when used inside either Android or iOS mobile apps.
Due to our inability to update the iOS app (following review from
Apple), this commit aims at restoring the bare minimum requirements to
make the current mobile apps (specially iOS but also Android)
authentication workflow works.
As extended explanation:
- Set-Cookie header is expected to be sent even when session_id hasn't
changed (iOS specific).
- Successful credentials check on `/web/session/authenticate` expect a
successful response with a result containing `uid` set to `null` to
mark the need of an additional totp handshake (both platforms).
closes odoo/odoo#85463
Signed-off-by: Julien Castiaux <juc@odoo.com >
2022-02-26 13:41:23 +00:00
..
2022-02-25 21:51:17 +00:00
2022-02-21 13:13:56 +00:00
2022-02-14 10:44:50 +00:00
2022-02-08 11:07:54 +00:00
2022-02-25 09:22:56 +00:00
2022-02-24 11:26:50 +00:00
2022-02-24 11:26:50 +00:00
2022-02-24 13:30:50 +00:00
2022-02-24 13:30:50 +00:00
2022-02-26 13:41:23 +00:00
2022-02-21 17:01:02 +00:00
2022-02-07 14:18:00 +00:00
2022-02-07 14:17:59 +00:00
2022-02-14 10:44:50 +00:00
2022-02-25 12:35:43 +00:00
2022-02-18 14:29:20 +00:00
2022-02-21 17:01:02 +00:00
2022-02-24 13:30:50 +00:00
2022-02-21 17:01:02 +00:00
2022-02-26 09:18:51 +00:00
2022-02-24 13:30:51 +00:00
2022-02-24 13:30:51 +00:00
2022-02-12 08:55:18 +00:00
2022-02-08 14:54:02 +00:00
2022-02-21 17:01:02 +00:00
2022-02-14 10:44:50 +00:00
2022-02-14 10:44:50 +00:00
2022-02-02 11:46:52 +00:00
2022-02-23 12:59:52 +00:00
2022-02-01 15:32:26 +00:00
2022-02-21 08:41:30 +00:00
2022-02-12 08:55:18 +00:00
2022-02-14 10:44:50 +00:00
2022-02-21 13:13:52 +00:00
2022-02-12 08:55:18 +00:00
2022-02-14 10:44:50 +00:00
2022-02-17 16:41:56 +00:00
2022-02-12 08:55:18 +00:00
2022-02-14 10:44:50 +00:00
2022-02-14 07:58:56 +00:00
2022-02-23 13:57:55 +00:00
2022-02-17 19:32:40 +00:00
2022-02-22 09:41:54 +00:00
2022-02-25 21:51:17 +00:00
2022-02-24 09:14:42 +00:00
2022-02-15 16:51:11 +00:00
2022-02-22 12:53:00 +00:00
2022-02-17 10:08:53 +00:00
2022-02-18 12:29:00 +00:00
2022-02-14 10:44:50 +00:00
2022-02-02 18:14:54 +00:00
2022-02-24 13:30:50 +00:00
2022-02-24 13:30:51 +00:00
2022-02-21 17:01:02 +00:00
2022-02-21 17:01:02 +00:00
2022-02-16 16:57:20 +00:00
2022-02-21 17:01:02 +00:00
2022-02-20 20:39:50 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-24 11:26:50 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 17:01:02 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-17 09:06:57 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 16:07:50 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-17 16:41:51 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-23 17:12:49 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-08 14:53:55 +00:00
2022-02-25 14:29:44 +00:00
2022-02-21 12:17:06 +00:00
2022-02-25 09:22:56 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 12:17:06 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 12:17:06 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-23 12:08:57 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 12:17:06 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 11:24:10 +00:00
2022-02-24 13:30:51 +00:00
2022-02-25 12:35:44 +00:00
2022-02-12 08:55:18 +00:00
2022-02-14 10:44:50 +00:00
2022-02-24 13:30:51 +00:00
2022-02-12 08:55:18 +00:00
2022-02-24 15:38:54 +00:00
2022-02-22 12:53:00 +00:00
2022-02-12 08:55:18 +00:00
2022-02-24 13:30:51 +00:00
2022-02-12 08:55:18 +00:00
2022-02-25 10:25:43 +00:00
2022-02-16 11:30:29 +00:00
2022-02-25 10:25:36 +00:00
2022-02-14 10:44:50 +00:00
2022-02-24 13:30:51 +00:00
2022-02-24 13:30:51 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 17:01:02 +00:00
2022-02-16 09:40:11 +00:00
2022-02-12 08:55:18 +00:00
2022-02-11 11:40:23 +00:00
2022-02-21 17:01:02 +00:00
2022-02-16 09:40:11 +00:00
2022-02-14 10:44:50 +00:00
2022-02-11 11:40:23 +00:00
2022-02-15 16:51:24 +00:00
2022-02-02 19:50:49 +00:00
2022-02-12 08:55:18 +00:00
2022-02-25 12:35:43 +00:00
2022-02-24 13:30:51 +00:00
2022-02-24 13:30:51 +00:00
2022-02-14 10:44:50 +00:00
2022-02-14 10:44:50 +00:00
2022-02-24 13:30:57 +00:00
2022-02-14 10:44:50 +00:00
2022-02-14 10:44:50 +00:00
2022-02-22 15:19:42 +00:00
2022-02-15 11:23:52 +00:00
2022-02-14 10:44:50 +00:00
2022-02-24 13:30:57 +00:00
2022-02-18 09:49:20 +00:00
2022-02-24 11:26:53 +00:00
2022-02-14 10:44:50 +00:00
2022-02-14 10:44:50 +00:00
2022-02-21 17:01:02 +00:00
2022-02-14 10:44:50 +00:00
2022-02-25 20:13:47 +00:00
2022-02-11 11:40:07 +00:00
2022-02-21 17:01:02 +00:00
2022-02-25 09:22:52 +00:00
2022-02-02 09:03:44 +00:00
2022-02-21 17:01:02 +00:00
2022-02-23 11:00:42 +00:00
2022-02-12 08:55:18 +00:00
2022-02-01 14:37:37 +00:00
2022-02-21 17:01:02 +00:00
2022-02-14 22:31:03 +00:00
2022-02-22 17:11:01 +00:00
2022-02-04 10:23:43 +00:00
2022-02-21 17:01:02 +00:00
2022-02-25 11:40:18 +00:00
2022-02-25 11:40:19 +00:00
2022-02-25 11:40:19 +00:00
2022-02-25 11:40:20 +00:00
2022-02-25 11:40:21 +00:00
2022-02-25 11:40:21 +00:00
2022-02-25 11:40:21 +00:00
2022-02-17 10:08:43 +00:00
2022-02-01 14:37:54 +00:00
2022-02-18 13:26:49 +00:00
2022-02-18 13:26:49 +00:00
2022-02-25 08:26:07 +00:00
2022-02-21 17:01:02 +00:00
2022-02-14 10:44:50 +00:00
2022-02-24 16:42:00 +00:00
2022-02-22 18:29:31 +00:00
2022-02-23 12:59:52 +00:00
2022-02-02 18:14:54 +00:00
2022-02-23 12:59:52 +00:00
2022-02-24 10:15:55 +00:00
2022-02-02 18:14:54 +00:00
2022-02-17 17:37:51 +00:00
2022-02-24 17:49:56 +00:00
2022-02-18 14:28:53 +00:00
2022-02-21 12:16:57 +00:00
2022-02-24 13:30:51 +00:00
2022-02-12 08:55:18 +00:00
2022-02-23 13:58:12 +00:00
2022-02-24 13:30:51 +00:00
2022-02-26 13:41:23 +00:00
2022-02-25 08:26:03 +00:00
2022-02-15 09:26:54 +00:00
2022-02-21 17:01:02 +00:00
2022-02-25 19:21:46 +00:00
2022-02-24 17:49:56 +00:00
2022-02-24 13:30:51 +00:00
2022-02-14 10:44:50 +00:00
2022-02-23 19:52:52 +00:00
2022-02-12 08:55:18 +00:00
2022-02-24 15:38:48 +00:00
2022-02-24 13:30:51 +00:00
2022-02-21 08:41:33 +00:00
2022-02-14 10:44:50 +00:00
2022-02-08 14:53:37 +00:00
2022-02-14 10:44:50 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 08:41:33 +00:00
2022-02-17 17:37:41 +00:00
2022-02-17 17:37:40 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 10:28:15 +00:00
2022-02-12 08:55:18 +00:00
2022-02-24 13:30:51 +00:00
2022-02-08 14:53:37 +00:00
2022-02-24 13:30:51 +00:00
2022-02-18 13:26:49 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-12 08:55:18 +00:00
2022-02-15 09:26:54 +00:00
2022-02-08 14:53:39 +00:00
2022-02-08 14:53:39 +00:00
2022-02-24 13:30:51 +00:00
2022-02-21 08:41:30 +00:00
2022-02-25 07:35:40 +00:00
2022-02-21 08:41:30 +00:00
2022-02-21 08:41:33 +00:00
2022-02-12 08:55:18 +00:00
2022-02-21 08:41:30 +00:00
2022-02-21 08:41:30 +00:00
2022-02-22 15:19:27 +00:00
2022-02-21 08:41:33 +00:00
2022-02-21 08:41:30 +00:00
2022-02-25 10:25:28 +00:00
2022-02-25 10:25:28 +00:00
2022-02-12 08:55:18 +00:00
2022-02-24 13:30:51 +00:00