I would like to modify the URL pattern, where the realm and other path parameters are getting attached. Where can I find and do that?
You might be able to do that using a reverse proxy rule, but there is not a simple facility do that within keycloak, as it’s not exposed in the extension SPIs.