Tim Möhlmann
7816644964
fix(oidc): define audience inside auth request instead of token creation ( #7610 )
...
fix(oidc): define audience inside auth request instead off token creation
When using the v1 OIDC Code flow, tokens would not carry the correct audience when returned as JWT. This applies to access tokens as JWT and ID tokens.
Introspection would still show the correct audience.
This happened because project audience was appended at token creation time. This stored the appended audience, used later in introspection or token refresh. However, the OIDC library still only had a view of the original auth request with the original audience.
When signing JWTs it would use this outdated information.
This change moves audience modifications to the auth request creation. This is was already the way it was done for v2 login and now v1 follows the same method.
Co-authored-by: Livio Spring <livio.a@gmail.com>
(cherry picked from commit 9d5cd12cd4daffafb1c502db0bea603a2403e12d)
2024-03-25 07:24:21 +01:00
..
2023-12-08 15:30:55 +01:00
2024-02-26 12:49:43 +02:00
2024-02-26 12:49:43 +02:00
2024-03-14 09:56:23 +00:00
2024-02-26 12:49:43 +02:00
2024-02-26 12:49:43 +02:00
2024-02-26 12:49:43 +02:00
2024-02-26 12:49:43 +02:00
2024-02-26 12:49:43 +02: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-05 17:01:03 +00:00
2024-02-26 12:49:43 +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
2023-10-27 17:43:13 +00:00
2023-10-27 17:43:13 +00:00
2022-12-01 13:31:46 +01:00
2022-04-26 23:01:45 +00:00
2023-12-20 13:21:08 +01:00
2023-12-20 13:21:08 +01:00
2023-12-20 13:21:08 +01:00
2023-07-10 08:07:10 +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
2023-09-29 11:26:14 +02:00
2024-01-10 15:02:17 +00:00
2024-01-10 15:02:17 +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-10-27 17:43:13 +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
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
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
2023-10-19 12:19:10 +02:00
2023-12-08 15:30:55 +01:00
2023-12-19 10:25:50 +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-09-29 11:26:14 +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
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
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
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-10-19 12:19:10 +02:00
2023-07-20 04:06:16 +00:00
2023-12-19 10:25:50 +00:00
2023-12-19 10:25:50 +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
2023-01-25 09:49:41 +01:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-02-15 02:52:11 +01: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
2023-03-28 21:36:52 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-02-28 10:21:11 +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
2023-10-10 12:45:45 +00:00
2023-12-08 15:30:55 +01:00
2024-02-28 10:55:54 +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-02-28 10:21:11 +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
2023-12-08 15:30:55 +01: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
2023-03-28 21:36:52 +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
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
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
2023-09-29 11:26:14 +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
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
2023-10-26 05:54:09 +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-11-30 17:01:17 +01:00
2022-04-26 23:01:45 +00:00
2023-08-25 15:17:12 +02:00
2023-12-19 10:25:50 +00:00
2023-12-19 10:25:50 +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-01-25 09:49:41 +01: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
2023-03-28 21:36:52 +02: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-12-08 15:30:55 +01:00
2023-08-03 06:42:59 +02: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
2022-04-26 23:01:45 +00:00
2023-03-28 21:36:52 +02:00
2022-07-28 13:18:31 +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
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-04-11 15:07:32 +00:00
2024-02-12 09:56:55 +01:00
2024-02-12 09:56:55 +01: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
2023-12-08 15:30:55 +01: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
2023-12-08 15:30:55 +01:00
2023-08-11 15:36:18 +00:00
2023-12-09 08:59:51 +00: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-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2024-03-14 08:49:10 +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
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2022-04-26 23:01:45 +00: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
2023-10-19 15:21:31 +00:00
2024-01-02 14:26:31 +00:00
2023-08-15 12:47:05 +00: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
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-04-25 09:02:29 +02:00
2023-12-08 15:30:55 +01:00
2023-12-08 15:30:55 +01:00
2023-03-14 19:20:38 +00:00
2024-01-30 15:36:34 +01:00
2024-01-30 15:36:34 +01:00
2023-09-07 14:06:11 +00:00
2023-08-15 12:47:05 +00:00
2023-12-08 15:30:55 +01:00
2023-12-21 10:03:37 +01:00
2023-11-08 14:19:13 +01:00
2024-01-30 15:36:34 +01:00
2024-02-26 13:11:09 +00:00
2023-03-14 19:20:38 +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
2023-01-10 15:58:10 +01:00
2023-12-08 15:30:55 +01:00
2024-02-20 16:54:52 +01:00
2023-12-21 10:03:37 +01:00
2023-08-11 15:36:18 +00:00
2023-12-21 10:03:37 +01:00
2023-12-21 10:03:37 +01:00
2023-08-04 11:35:36 +02:00
2023-12-08 18:22:07 +01:00
2023-12-08 18:22:07 +01:00
2022-04-26 23:01:45 +00:00
2023-12-08 15:30:55 +01:00
2024-03-13 18:21:19 +00:00
2023-02-08 08:06:34 +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
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
2023-09-15 15:29:29 +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-03-12 13:50:13 +00:00
2024-03-12 13:50:13 +00:00
2024-03-12 13:50:13 +00:00
2023-12-08 15:30:55 +01:00
2024-02-14 07:22:55 +00:00
2024-02-14 07:22:55 +00:00
2023-12-21 10:03:37 +01:00
2024-01-30 15:36:34 +01:00
2023-12-21 10:03:37 +01:00
2023-12-21 10:03:37 +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
2024-02-14 07:22:55 +00:00
2024-02-14 07:22:55 +00:00
2023-12-21 10:03:37 +01:00
2023-12-08 15:30:55 +01:00
2023-08-02 18:57:53 +02:00
2023-12-08 15:30:55 +01:00
2023-06-27 14:36:07 +02:00
2023-12-21 10:03:37 +01:00
2023-12-21 10:03:37 +01:00
2024-03-25 07:24:21 +01:00