We are using Keycloak as our authentication server behind an application server. The solution is multi-tenanted by the subdomain. We need to switch the realm automatically b