Commit Graph

6037 Commits

Author SHA1 Message Date
Elio Bischof
2dba67292a rm idps 2025-06-21 03:35:42 +02:00
Max Peintner
09e221edaa Merge branch 'main' into saml-post 2025-06-20 15:47:01 +02:00
Max Peintner
809d51dcf6 missing i18n 2025-06-20 15:27:53 +02:00
Elio Bischof
2434218d2e unit 2025-06-20 14:32:04 +02:00
Elio Bischof
ce6b515a8e lint 2025-06-20 14:24:08 +02:00
Elio Bischof
28e0cbf278 lint 2025-06-20 14:22:42 +02:00
Elio Bischof
74923f798c unit 2025-06-20 13:19:02 +02:00
Elio Bischof
25f55ef365 unit 2025-06-20 12:57:39 +02:00
Elio Bischof
66310a04bc created 2025-06-20 11:22:44 +02:00
Elio Bischof
d1b9b932ad created 2025-06-20 11:20:27 +02:00
Elio Bischof
1f506e7c9e image created 2025-06-20 11:14:25 +02:00
Elio Bischof
91b08e88be created 2025-06-20 11:01:41 +02:00
Elio Bischof
0461de3eab cache compose tests 2025-06-20 09:28:52 +02:00
Elio Bischof
3292968f43 cache compose tests 2025-06-20 09:15:04 +02:00
Max Peintner
f092894f1b translated 2025-06-20 09:10:05 +02:00
Elio Bischof
c991090b08 cache compose tests 2025-06-19 18:19:41 +02:00
Elio Bischof
589ae8994d cache compose tests 2025-06-19 18:09:09 +02:00
Elio Bischof
9b04f9af03 cache compose tests 2025-06-19 17:56:55 +02:00
Elio Bischof
affe9893f0 cache compose tests 2025-06-19 17:52:25 +02:00
Max Peintner
f2420ce5c6 i18n 2025-06-19 15:17:02 +02:00
Max Peintner
0889d1e043 data prop for i18n 2025-06-19 15:00:44 +02:00
Max Peintner
07f91f94b0 idp translated 2025-06-19 14:55:16 +02:00
Max Peintner
cccec6ea1e translated 2025-06-19 14:52:02 +02:00
Max Peintner
996af6eea1 translated component 2025-06-19 14:49:04 +02:00
Max Peintner
68b8019341 translated 2025-06-19 14:45:08 +02:00
Elio Bischof
bb3f940a2b cache compose tests 2025-06-19 14:44:36 +02:00
Max Peintner
ef8931a17c translated component 2025-06-19 14:39:52 +02:00
Elio Bischof
758c532e7c cache compose tests 2025-06-19 14:33:07 +02:00
Max Peintner
3cb8729f20 improve i18nhelper 2025-06-19 14:20:04 +02:00
Max Peintner
ed7f664b54 use <Translated /> 2025-06-19 14:14:12 +02:00
Elio Bischof
5fac60b3e9 cache compose tests 2025-06-19 14:10:20 +02:00
Max Peintner
23062bcf2e introduce translated component to give a hint on the used i18n key 2025-06-19 14:05:42 +02:00
Elio Bischof
920e76d2ee cache compose tests 2025-06-19 14:04:08 +02:00
Max Peintner
d557cb51d7 cleanup packages, turbo, fix middleware matcher 2025-06-19 13:47:35 +02:00
Elio Bischof
3f33438d10 cache compose tests 2025-06-19 13:39:48 +02:00
Elio Bischof
7efc0394e0 cache compose tests 2025-06-19 13:33:38 +02:00
Elio Bischof
7dbeb0caa4 cache compose tests 2025-06-19 13:13:24 +02:00
Elio Bischof
3372d1aa03 cache compose tests 2025-06-19 12:40:44 +02:00
Elio Bischof
66f78f237d cache compose tests 2025-06-19 12:31:51 +02:00
Elio Bischof
e9be37f946 cache compose tests 2025-06-19 12:15:42 +02:00
Elio Bischof
7de0417e76 cache compose tests 2025-06-19 12:00:35 +02:00
Trong Huu Nguyen
3a4298c179 fix(scim): add type attribute to ScimEmail (#9690)
# Which Problems Are Solved

- SCIM PATCH operations for users from Entra ID for the `emails`
attribute fails due to missing `type` subattribute

# How the Problems Are Solved

- Adds the `type` attribute to the `ScimUser` struct and sets the
default value to `"work"` in the `mapWriteModelToScimUser()` method.

# Additional Changes

# Additional Context

The SCIM handlers for POST and PUT ignore multiple emails and only uses
the primary email for a given user, or falls back to the first email if
none are marked as primary. PATCH operations however, will attempt to
resolve the provided filter in `operations[].path`.

Some services, such as Entra ID, only support patching emails by
filtering for `emails[type eq "(work|home|other)"].value`, which fails
with Zitadel as the ScimUser struct (and thus the generated schema)
doesn't include the `type` field.

This commit adds the `type` field to work around this issue, while still
preserving compatibility with filters such as `emails[primary eq
true].value`.

-
https://discord.com/channels/927474939156643850/927866013545025566/1356556668527448191

---------

Co-authored-by: Christer Edvartsen <christer.edvartsen@nav.no>
Co-authored-by: Thomas Siegfried Krampl <thomas.siegfried.krampl@nav.no>
2025-06-19 09:42:44 +00:00
Elio Bischof
3704a7e19a cache compose tests 2025-06-19 11:17:07 +02:00
Elio Bischof
0dd84e8e60 cache compose tests 2025-06-19 10:31:17 +02:00
Elio Bischof
34830ed0b7 cache compose tests 2025-06-19 10:23:24 +02:00
Max Peintner
bf7bafe112 update next, i18n api 2025-06-19 10:22:59 +02:00
Elio Bischof
7ff15fe2a4 cache compose tests 2025-06-19 10:09:37 +02:00
Max Peintner
396f0c3ed3 Merge branch 'main' into i18n-api 2025-06-19 10:08:01 +02:00
Elio Bischof
fe50a2cbf6 cache compose tests 2025-06-19 10:05:30 +02:00
Elio Bischof
8b3ea5de5f cache compose tests 2025-06-19 10:02:33 +02:00