Web-context changes to auth endpoint

Struggling to change the “auth/” from my keycloak instance, ie. changing localhost:8080/auth to localhost:8080.

The cli script below changes the values in both the standalone.xml and standalone-ha.xml but the

embed-server --std-out=echo
/subsystem=keycloak-server/:write-attribute(name=web-context,value=bing)
stop-embedded-server

I was expecting the script above to allow me to resolve to localhost:8080/bing but the logs still indicate that the web-context is still pointing to “auth”.

Registered web context: ‘/auth’ for server ‘default-server’

Does anyone have any guidance on customizing the web-context?

1 Like