keycloak-config-cli
keycloak-config-cli copied to clipboard
Realm Import of file that has groups with IDs fail with 404
Current Behavior
When importing an exported realm file that includes group id, keycloak-config-cli returns Create method returned status Not Found (Code: 404); expected status: Created (201).
This was mentioned in #824 as well, and the user mentioned a workaround in the code.
Expected Behavior
An exported realm file from a supported keycloak installation should be able to import fully.
Steps To Reproduce
1. Export a realm as JSON with all groups and roles
2. Using keycloak-config-cli, point to the freshly exported realm.json file
Environment
- Keycloak Version: 21.1.1
- keycloak-config-cli Version: 5.6.1
- Java Version: 17
Anything else?
No response