I have secured an enterprise application with Keycloak using standard wildfly based Keycloak adapters. Issue that I am facing is that the rest web services when invoked, nee
You may also set the principal-attribute property in the keycloak.json file of your web app to preferred_username.
principal-attribute
keycloak.json
preferred_username