jelhub / scimgateway

Using SCIM protocol as a gateway for user provisioning to other endpoints
MIT License
176 stars 57 forks source link

Keycloak REST API plugin #130

Closed allebone closed 2 months ago

allebone commented 2 months ago

As Keycloak doesn’t natively support SCIM currently. Is there an example that might best fit a workflow where Entra SCIM informs SCIMGATEWAY with Keycloak as a downstream plugin target?

jelhub commented 2 months ago

You may use plugin-entra-id as a REST-template.

Start working on the getUsers method and maybe having getGroups method returning empty to skip group logic in the initial phase return { Resources: [] }

For getUsers, following must work:

http://localhost:8881/Users/<id>
Not used by Entra, but may be used by others:
http://localhost:8881/Users
http://localhost:8881/Users?filter=userName eq "bjensen"

Make sure getUsers works before adjusting other methods you might need like modifyUser, createUser, deleteUser, getGroups…