There appears to be a bug in the orgs Admin UI for linking orgs to idps when using OIDC idps. The code is clearing the config params from the source JSON that are empty (but not null) before sending the update, and that appears to be causing the Keycloak /admin/realms/{realm}/identity-provider/instances/{idp-id} endpoint to throw the 409.
We should make sure to preserve all fields that are empty
There appears to be a bug in the orgs Admin UI for linking orgs to idps when using OIDC idps. The code is clearing the
config
params from the source JSON that are empty (but not null) before sending the update, and that appears to be causing the Keycloak/admin/realms/{realm}/identity-provider/instances/{idp-id}
endpoint to throw the 409.syncmode
has a typo, and should besyncMode