zitadel/internal
Elio Bischof 464ca0bd00
fix: always create SAML with metadata (#8696)
# Which Problems Are Solved

Adding a SAML IDPs with an empty metadata XML and URL leads to failed
projection events. The main IDP template projection succeeds, but the
subtable projection for SAML template fails, because the metadata field
is not nullable in that table. The SAML IDP shows up in list queries,
because the list method only queries the main template projection.
However, getting a SAML IDP created without metadata by ID misses the
SAML specific IDP data.

# How the Problems Are Solved

- The command for adding a SAML IDP properly ensures that non-empty
metadata is either given by XML or resolved by URL.
- The console doesn't send requests with empty metadata anymore. This
works by explicitly setting a single oneof option for either XML or URL
and emptying the other one.

# Additional Context

Closes #8443
2024-10-11 08:09:51 +00:00
..
actions
activity
admin/repository/eventsourcing
api fix: add domain as attribute to list user auth methods (#8718) 2024-10-10 16:50:53 +00:00
auth/repository fix: only allow domain discovery if no organization was preselected (#8748) 2024-10-10 15:29:53 +00:00
auth_request/repository
authz
cache perf(cache): pgx pool connector (#8703) 2024-10-04 13:15:41 +00:00
command fix: always create SAML with metadata (#8696) 2024-10-11 08:09:51 +00:00
config
crypto
database perf(cache): pgx pool connector (#8703) 2024-10-04 13:15:41 +00:00
domain fix: pass sessionID to OTP email link (#8745) 2024-10-10 13:53:32 +00:00
eventstore perf(oidc): nest position clause for session terminated query (#8738) 2024-10-07 12:49:55 +00:00
execution feat: add schema user create and remove (#8494) 2024-08-28 19:46:45 +00:00
feature perf(oidc): disable push of user token meta-event (#8691) 2024-09-26 13:55:41 +00:00
form
i18n
iam
id
idp fix(SAML): log underlying error if SAML response validation fails (#8721) 2024-10-11 07:04:15 +00:00
integration perf(cache): pgx pool connector (#8703) 2024-10-04 13:15:41 +00:00
logstore
migration
net
notification fix: pass sessionID to OTP email link (#8745) 2024-10-10 13:53:32 +00:00
org
project
protoc
qrcode
query fix: add domain as attribute to list user auth methods (#8718) 2024-10-10 16:50:53 +00:00
renderer
repository fix: twilio code generation and verification (#8728) 2024-10-07 07:12:44 +02:00
static feat: Add Twilio Verification Service (#8678) 2024-09-26 09:14:33 +02:00
statik
telemetry
test
user fix: add domain as attribute to list user auth methods (#8718) 2024-10-10 16:50:53 +00:00
v2 fix(eventstore): revert precise decimal (#8527) (#8679) 2024-09-24 18:43:29 +02:00
view/repository
webauthn fix: add domain as attribute to list user auth methods (#8718) 2024-10-10 16:50:53 +00:00
zerrors