I am currently trying to automate setup of a SAML-client using kcadmin.sh.
Using 'kcadm.sh create clients -r SAML-DEMO -f saml-client.json' works when
using the Keycloak-specific JSON.
My SAML-Service Provider gives me a sp-metadata.xml. Using that file in the
UI (Clients -> Create -> Impoert(Select File)) works and it will create a
new client comntaining all the stuff provided in the XML-metadata.
Sadly that doesn't seem to work with kcadmin.sh. When providing that file
instead of the JSON it simply fails with 'Not a valid JSON document'.
Is there a way to use the XML file from kcadmin.sh?
Thanks,
Jochen