Livio Spring
4f114e4bf3
fix: session idp intent check ( #8040 )
...
# Which Problems Are Solved
If an IdP intent succeeded with the user was not linked yet, the IdP
link was then added, the following IdP check on the session API would
then fail with `Intent meant for another user (COMMAND-O8xk3w)`.
This issue was introduced with when allowing IdP intents from other
organizations (https://github.com/zitadel/zitadel/pull/7871 )
# How the Problems Are Solved
The IdP link is now correctly checked in the session API (using the
user's organization instead of the one from the intent).
# Additional Changes
- Improved the corresponding integration test to cover the exact
bahvior.
- Tests, which had to be updated with newer cases where additionally
changed to use expectEventstore instead of deprecated eventstoreExpect
and the two eventstore mocks of the session_tests.go where combined.
# Additional Context
- Relates to #7871
- This issue was reported by a customer.
- will be back ported to 2.52.x
(cherry picked from commit d254828d476861e7c9f09c182c4f4159f244a11e)
2024-05-30 09:25:56 +02:00
..
2023-12-08 15:30:55 +01:00
2024-05-04 11:55:57 +02:00
2024-05-22 16:05:06 +00:00
2024-05-22 16:05:06 +00:00
2024-05-22 16:05:06 +00:00
2024-05-04 11:55:57 +02:00
2024-05-04 11:55:57 +02:00
2024-05-04 11:55:57 +02:00
2024-05-04 11:55:57 +02:00
2023-12-08 15:30:55 +01:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2023-12-05 17:01:03 +00:00
2024-05-23 12:28:46 +02:00
2023-10-19 12:19:10 +02:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2024-04-10 15:46:30 +00:00
2024-04-10 15:46:30 +00:00
2022-12-01 13:31:46 +01:00
2022-04-26 23:01:45 +00:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2024-04-05 09:35:49 +00:00
2023-10-19 15:21:31 +00:00
2022-04-26 23:01:45 +00:00
2022-04-26 23:01:45 +00:00
2022-10-17 19:19:15 +00:00
2024-05-07 06:11:20 +00:00
2024-05-23 05:04:07 +00:00
2024-05-07 06:11:20 +00:00
2023-12-08 15:30:55 +01:00
2024-05-23 05:04:07 +00:00
2024-05-23 05:04:07 +00:00
2024-05-13 16:01:50 +02:00
2024-04-03 10:43:43 +00:00
2024-04-10 15:46:30 +00:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-10-19 12:19:10 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-10-19 12:19:10 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-10-19 15:21:31 +00:00
2024-04-05 09:35:49 +00:00
2024-05-23 12:28:46 +02:00
2024-05-24 13:32:57 +02:00
2024-04-09 20:21:21 +03:00
2024-05-24 13:32:57 +02:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2024-04-09 19:32:00 +00:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-05-23 05:04:07 +00:00
2024-04-05 09:35:49 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-05-23 05:04:07 +00:00
2024-05-23 05:04:07 +00:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-11 09:16:10 +02:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-21 10:03:37 +01:00
2023-10-26 05:54:09 +00:00
2024-05-23 12:28:46 +02:00
2024-05-23 12:28:46 +02:00
2022-04-26 23:01:45 +00:00
2023-10-19 12:19:10 +02:00
2024-04-03 10:43:43 +00:00
2023-12-19 10:25:50 +00:00
2023-12-19 10:25:50 +00:00
2024-04-03 10:43:43 +00:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-01-25 09:49:41 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-10 09:14:55 +00:00
2024-04-10 09:14:55 +00:00
2024-04-10 09:14:55 +00:00
2024-05-13 16:01:50 +02:00
2024-05-13 16:01:50 +02:00
2024-05-13 16:01:50 +02:00
2024-03-20 10:18:46 +00:00
2024-02-28 10:21:11 +00:00
2023-10-19 12:19:10 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-11 09:16:10 +02:00
2024-05-23 12:28:46 +02:00
2024-05-23 12:28:46 +02:00
2022-04-26 23:01:45 +00:00
2022-09-12 18:18:08 +02:00
2022-09-12 18:18:08 +02:00
2024-01-17 10:16:48 +00:00
2024-01-17 10:16:48 +00:00
2024-01-17 10:16:48 +00:00
2024-01-17 10:16:48 +00:00
2024-04-05 09:35:49 +00:00
2022-04-26 23:01:45 +00:00
2022-10-07 09:44:28 +00:00
2023-07-06 08:38:13 +02:00
2022-04-26 23:01:45 +00:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-05-13 16:01:50 +02:00
2022-04-26 23:01:45 +00:00
2024-04-10 15:46:30 +00:00
2023-12-08 15:30:55 +01:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-10-19 15:21:31 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-05-23 05:04:07 +00:00
2024-04-05 09:35:49 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-05-23 05:04:07 +00:00
2024-05-23 05:04:07 +00:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-09-20 14:32:09 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-11-30 17:01:17 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-21 10:03:37 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-10 09:14:55 +00:00
2024-04-10 09:14:55 +00:00
2024-04-10 09:14:55 +00:00
2022-11-30 17:01:17 +01:00
2022-04-26 23:01:45 +00:00
2024-04-03 10:43:43 +00:00
2024-04-09 19:32:00 +00:00
2024-05-07 06:11:20 +00:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-01-25 09:49:41 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-05-13 16:01:50 +02:00
2024-05-13 16:01:50 +02:00
2024-05-13 16:01:50 +02:00
2024-04-24 17:50:58 +02:00
2024-05-23 12:28:46 +02:00
2023-12-08 15:30:55 +01:00
2024-04-05 09:35:49 +00:00
2023-10-26 05:54:09 +00:00
2022-04-26 23:01:45 +00:00
2023-07-20 04:06:16 +00:00
2022-04-26 23:01:45 +00:00
2023-01-25 09:49:41 +01:00
2022-12-08 08:11:49 +01:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2024-04-10 09:14:55 +00:00
2024-05-13 16:01:50 +02:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2024-04-03 10:43:43 +00:00
2024-04-05 09:35:49 +00:00
2023-12-08 15:30:55 +01:00
2022-04-26 23:01:45 +00:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2023-04-05 11:42:00 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-05 09:35:49 +00:00
2023-04-11 15:07:32 +00:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-04-26 23:01:45 +00:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-10-19 12:19:10 +02:00
2023-09-15 16:58:45 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-09 08:59:51 +00:00
2023-12-05 11:12:01 +00:00
2023-12-08 15:30:55 +01:00
2024-04-08 08:15:44 +00:00
2023-08-11 15:36:18 +00:00
2024-05-16 07:07:56 +02:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2024-05-30 09:25:56 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-05-30 09:25:56 +02:00
2023-10-19 12:19:10 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-11 09:16:10 +02:00
2024-05-07 16:24:53 +00:00
2022-04-26 23:01:45 +00:00
2024-05-24 13:32:57 +02:00
2024-04-09 20:21:21 +03:00
2024-05-24 13:32:57 +02:00
2023-10-19 15:21:31 +00:00
2024-01-02 14:26:31 +00:00
2024-05-16 07:07:56 +02:00
2023-12-08 15:30:55 +01:00
2023-12-21 10:03:37 +01:00
2022-04-26 23:01:45 +00:00
2022-08-24 11:38:59 +02:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2024-04-03 10:43:43 +00:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-24 17:50:58 +02:00
2024-04-24 17:50:58 +02:00
2024-04-24 17:50:58 +02:00
2024-04-24 17:50:58 +02:00
2024-04-24 17:50:58 +02:00
2024-05-02 11:50:13 +02:00
2023-09-07 14:06:11 +00:00
2024-04-10 09:14:55 +00:00
2024-05-14 09:20:31 +02:00
2024-05-14 09:20:31 +02:00
2024-04-05 09:35:49 +00:00
2024-05-02 11:50:13 +02:00
2024-05-02 11:50:13 +02:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2024-04-05 09:35:49 +00:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2024-05-03 07:23:40 +00:00
2023-08-11 15:36:18 +00:00
2024-05-07 05:38:26 +00:00
2024-05-14 09:20:31 +02:00
2023-08-04 11:35:36 +02:00
2023-12-08 18:22:07 +01:00
2024-03-27 18:22:17 +00:00
2024-04-03 10:43:43 +00:00
2024-04-23 09:38:07 +00:00
2024-04-23 09:38:07 +00:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2024-04-05 09:35:49 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-07-06 14:09:49 +02:00
2022-11-30 17:01:17 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-04-03 10:43:43 +00:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-03-12 13:50:13 +00:00
2024-03-12 13:50:13 +00:00
2024-03-12 13:50:13 +00:00
2024-05-16 07:07:56 +02:00
2024-05-03 07:23:40 +00:00
2024-05-03 07:23:40 +00:00
2024-05-14 09:20:31 +02:00
2024-05-14 09:20:31 +02:00
2024-05-03 07:23:40 +00:00
2024-04-05 09:35:49 +00:00
2024-05-07 05:38:26 +00:00
2024-04-05 09:35:49 +00:00
2024-04-24 17:50:58 +02:00
2024-04-05 09:35:49 +00:00
2024-02-14 07:22:55 +00:00
2024-04-05 09:35:49 +00:00
2024-04-24 17:50:58 +02:00
2024-05-14 09:20:31 +02:00
2024-05-07 05:38:26 +00:00
2024-05-07 05:38:26 +00:00
2024-05-07 05:38:26 +00:00
2023-12-21 10:03:37 +01:00
2023-12-21 10:03:37 +01:00
2024-05-16 07:07:56 +02:00