How to avoid to add the "realms" path when trying to get the openid-configuration

I am using Wildfly 22.0.1 and the keycloak adapter to secure the access to me application.

In my configuration I have


When the keycloak adapter try to get the oauth2 configuration it calls the url


I expect the keycloak adapter to get the configuration from the follow url

anurl/.well-known/openid-configuration (without realms)

Thanks in advance for your help,