title: How to change authentication Url generated by Keycloak OpenID Connect Java adapter?
body: <p>We are using Keycloak Java adapter 4.5.0 in combination with EAP7.1. When we configure our keycloak.json we have for <code>auth-server-url</code> the url <code>https://authentication.country.com/op/v1/auth</code>. So far so good.</p>
  
  <p>When we navigate to our application, we are forwarded to <code>https://authentication.country.com/op/v1/auth/realms/KeycloakOIDCRealm/protocol/openid-connect/auth?response_type=code&amp;client_id=fac9d161-d27d-493d-uze896zed78&amp;redirect_uri=....</code>.</p>
  
  <p>This is not good, since we use our own identity provider. Removing the <code>realms/KeycloakOIDCRealm/protocol/openid-connect/</code> part of the url, forwards it correctly to the identity provider. So the Keycloak adapter adds it by default, assuming we will always use Keycloak as an identity provider. Before we were using SAML and didn't had this issue.</p>
  
  <p>How can we configure the keycloak.json for the adapter to leave out the addition of <code>realms/KeycloakOIDCRealm/protocol/openid-connect/</code>?</p>