Captain-P-Goldfish / scim-for-keycloak

a third party module that extends keycloak by SCIM functionality
BSD 3-Clause "New" or "Revised" License
186 stars 48 forks source link

Seed initial configuration in keycloak #101

Open garpinc opened 8 months ago

garpinc commented 8 months ago

I would like to load up an initial scim configuration into server on startup. How can I do that? With the rest of keycloak I seed the initial keycloak config with a realm json file so I'm wondering how to do equivalent for this.

Also when I do export scim config I get following in developer tools:

scim-for-keycloak-webadmin.js:2 

       GET http://localhost:8080/realms/master/scim/admin/backend/import-export/export?startIndex=0&count=50 404 (Not Found)
b @ scim-for-keycloak-webadmin.js:2
(anonymous) @ scim-for-keycloak-webadmin.js:2
Promise.then (async)
onClick @ scim-for-keycloak-webadmin.js:2
Ie @ scim-for-keycloak-webadmin.js:2
Ue @ scim-for-keycloak-webadmin.js:2
(anonymous) @ scim-for-keycloak-webadmin.js:2
Mn @ scim-for-keycloak-webadmin.js:2
Dn @ scim-for-keycloak-webadmin.js:2
(anonymous) @ scim-for-keycloak-webadmin.js:2
cc @ scim-for-keycloak-webadmin.js:2
Ae @ scim-for-keycloak-webadmin.js:2
Hn @ scim-for-keycloak-webadmin.js:2
Kt @ scim-for-keycloak-webadmin.js:2
Wt @ scim-for-keycloak-webadmin.js:2
VM10:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Captain-P-Goldfish commented 8 months ago

Currently not implemented. I will add it to the list of future features. But at the moment I would like to get the SCIM client implementation ready

garpinc commented 7 months ago

Just FYI. This will make it much easier for our QA people.

Captain-P-Goldfish commented 7 months ago

sorry for the late response. I will add this feature soon.

garpinc commented 7 months ago

If it can be in same realm xml that would be great.