Repository navigation
Replies: 2 comments 3 replies
|
I opened an issue for this enhancement: #53837 |
|
Hi @xgp, there's related work you may not have found, because it isn't named "outbound": #43531 (Federating users from a SCIM provider), a sub-issue of the #13484 SCIM epic. Its goals include full CRUD of user and group resources against a remote SCIM service provider. It isn't quite what you're proposing, though, and I don't want to imply your use case is already covered. #43531 has Keycloak as a SCIM client federating from an external store that owns the identities, writing back to that store. If I got it right, you're describing Keycloak as the system of record pushing to downstream SaaS consumers. Same protocol and probably much of the same client machinery, opposite direction of authority. So the scope question is real and still unanswered: whether outbound provisioning is its own feature or falls out of #43531's client layer. Worth settling before either is built, so we don't end up with two SCIM write paths. @pedroigor, could you weigh in here or on #53837? The architecture of what @xgp and @thomasdarimont are building on #53786 depends on it. |
Uh oh!
There was an error while loading. Please reload this page.
26.7 ships
keycloak-scim-core,-modeland-servicesbehind theSCIM_APIfeature — the inbound side, where Keycloak is the service provider. There's also akeycloak-scim-clientartifact published to Maven, though nothing in the server distribution depends on it. What I can't find is anything on the outbound side: pushing Keycloak users and groups into SaaS apps that expose a SCIM endpoint. The existing community extensions for this call SCIM synchronously from an event listener, in the authentication request thread, which doesn't survive an app being slow or down.We've built an engine for this and it's working in production-shaped tests. The protocol part is easy; the parts that took the time were:
userNamebefore creating, so an existing account is adopted rather than duplicated, including after a crash between the app's 201 and our commit;Before I PR, I'd rather ask than guess:
ComponentModelfor destinations,EventListenerProviderfor enqueue,TimerProvider+ClusterProviderfor the drainer,WorkflowStepProviderfor lifecycle triggers)? Is that the combination you'd expect, or is there a better-fitting extension point I've missed?keycloak-scim-clientintended for extension authors to use, or is it internal to the inbound implementation? It isn't in the distribution, so using it means bundling it plus Apache HttpClient and the RESTEasy client.I did a search of the existing discussions and issues, but wasn't able to find a similar discussion.
All reactions