Tim Möhlmann
1aa8c49e41
fix(oidc): store requested response_mode ( #8145 )
...
# Which Problems Are Solved
Zitadel never stored or returned the requested `response_mode` in oidc
Auth Requests. This caused the oidc library to fallback to the default
based on the response_type.
# How the Problems Are Solved
- Store the `response_mode` in the Auth request repo
- Store the `response_mode` in the Auth request v2 events
- Return the `resonse_mode` from the Auth Request v1 and v2
`ResponseMode()` methods. (Was hard-coded to an empty string)
# Additional Changes
- Populate the `response_modes_supported` to the oidc Discovery
Configuration. When it was empty, the standard specifies the default of
`query` and `fragment`. However, our oidc library also supports
`form_post` and by this fix, zitadel now also supports this.
# Additional Context
- Closes #6586
- Reported
https://discord.com/channels/927474939156643850/1151508313717084220
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
2024-06-17 09:50:12 +00:00
..
2024-03-12 13:50:13 +00:00
2022-04-26 23:01:45 +00:00
2024-04-05 09:35:49 +00:00
2023-12-08 15:30:55 +01:00
2024-04-05 09:35:49 +00:00
2024-02-29 15:28:06 +00:00
2024-06-17 09:50:12 +00:00
2022-09-12 18:18:08 +02:00
2021-03-09 10:30:11 +01:00
2022-05-20 10:30:12 +02:00
2023-12-20 13:21:08 +01:00
2024-05-28 08:59:49 +00:00
2023-12-08 15:30:55 +01:00
2024-05-16 07:07:56 +02:00
2021-05-03 10:15:50 +02: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-20 13:21:08 +01:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2024-05-04 11:55:57 +02:00
2023-12-08 15:30:55 +01:00
2023-07-28 07:39:30 +02:00
2024-04-09 20:21:21 +03:00
2024-02-26 12:49:43 +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-14 09:20:31 +02: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
2023-12-08 15:30:55 +01:00
2023-04-17 06:26:40 +00:00
2023-06-27 14:36:07 +02:00
2024-04-05 09:35:49 +00:00
2023-02-28 21:20:58 +01:00
2024-05-23 05:04:07 +00:00
2022-05-16 11:26:24 +02:00
2022-10-26 13:06:48 +00:00
2022-09-12 18:18:08 +02:00
2023-12-08 15:30:55 +01:00
2024-03-13 18:21:19 +00: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
2024-01-02 14:26:31 +00:00
2021-12-14 09:47:49 +01:00
2024-01-02 14:26:31 +00:00
2024-02-28 10:55:54 +02:00
2021-02-23 15:13:04 +01:00
2024-05-16 07:07:56 +02:00
2024-05-16 07:07:56 +02:00
2021-02-23 15:13:04 +01:00
2023-07-10 13:27:00 +00:00
2022-04-26 23:01:45 +00:00
2024-06-17 09:50:12 +00:00
2023-10-11 09:55:01 +02:00
2023-12-08 15:30:55 +01:00
2023-10-11 09:55:01 +02:00
2024-05-07 05:38:26 +00:00
2022-05-16 14:08:47 +00:00
2023-12-08 15:30:55 +01:00
2024-01-02 14:26:31 +00:00
2022-05-16 13:39:09 +00:00
2024-01-05 14:35:51 +00: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
2024-04-10 09:14:55 +00:00
2024-05-13 16:01:50 +02:00
2024-01-02 14:26:31 +00:00
2024-01-02 14:26:31 +00:00
2024-01-02 14:26:31 +00:00
2022-04-26 23:01:45 +00:00
2022-04-26 23:01:45 +00:00
2024-01-02 14:26:31 +00:00
2024-04-09 08:42:59 +02:00
2024-06-17 09:50:12 +00:00
2022-04-26 23:01:45 +00:00
2021-03-01 08:48:50 +01:00
2023-07-26 11:00:41 +00:00
2023-08-24 09:41:52 +00:00
2022-02-21 12:22:20 +00:00
2024-04-11 09:16:10 +02:00
2024-05-04 11:55:57 +02:00
2024-06-14 10:00:43 +02:00
2024-06-14 10:00:43 +02:00
2024-03-20 10:18:46 +00:00
2023-12-08 15:30:55 +01: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
2022-04-26 23:01:45 +00:00
2022-04-26 23:01:45 +00:00
2024-03-12 13:50:13 +00:00
2023-12-08 15:30:55 +01:00
2023-06-15 05:32:40 +00:00
2024-05-28 08:59:49 +00:00