You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the environment variable IMPORT_REMOTESTATE_ENABLED=true is set, remote state is not working for "clientScopes" and "scopeMappings" resources. All "clientScopes" and "scopeMappings" which are not present in the json import files are deleted from keycloak.
Expected Behavior
When the environment variable IMPORT_REMOTESTATE_ENABLED=true, only "clientScopes" and "scopeMappings" present in the remote state and not present in the json import files should be deleted from keycloak.
Steps To Reproduce
1. Set env var IMPORT_REMOTESTATE_ENABLED=true
2. Create a ClientScope and a ScopeMapping manually in keycloak
3. Start a keycloak-config-cli with a JSON import file containing ClientScopes and ScopeMappings
4. Manually created ClientScope and ScopeMapping are deleted from keycloak.
Environment
Keycloak Version: 22.0.4
keycloak-config-cli Version: 5.9.0
Java Version: 17.0.8
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
When the environment variable IMPORT_REMOTESTATE_ENABLED=true is set, remote state is not working for "clientScopes" and "scopeMappings" resources. All "clientScopes" and "scopeMappings" which are not present in the json import files are deleted from keycloak.
Expected Behavior
When the environment variable IMPORT_REMOTESTATE_ENABLED=true, only "clientScopes" and "scopeMappings" present in the remote state and not present in the json import files should be deleted from keycloak.
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: