mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Ensure org domain removal from the IDP is properly propagated to the DB
Closes #29599 Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
This commit is contained in:
parent
35df0140ee
commit
553b1ce695
@ -155,6 +155,7 @@ public final class OrganizationAdapter implements OrganizationModel, JpaModel<Or
|
||||
idps.forEach(idp -> {
|
||||
if (Objects.equals(domainEntity.getName(), idp.getConfig().get(ORGANIZATION_DOMAIN_ATTRIBUTE))) {
|
||||
idp.getConfig().remove(ORGANIZATION_DOMAIN_ATTRIBUTE);
|
||||
realm.updateIdentityProvider(idp);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user