Hello Edgar,
I'd be also interesed in a way to do this.
Currently keycloak doesn't provide a mechanism to register additional rest endpoints, however one could probably introduce a way to do so.
`org.keycloak.services.resources.KeycloakApplication.KeycloakApplication(ServletContext, Dispatcher) ` seems to be the place where the major JAX-RS Resources are registered.
I think this could be extended with an SPI to easily add custom Resources. This resources could then use DI or manual Lookups to access the Keycloak infrastructure.
Cheers,
Thomas