I’m trying to upgrade from 16 to 18 but the /auth portion of the URL was removed. It’s going to be too much work to reconfigure all applications with the new URL so I tried a few things to work around it .
/opt/keycloak/bin/kc.sh build --http-relative-path /auth - This didn’t work completely. Applications were still failing.
I tried a few nginx rewrite rules but that also wasn’t successful. I’m not an nginx rewrite expert either.
What have other people done to successfully upgrade in this situation?
Nginx will automatically replace the path fragment in the location directive with the fragment specified at the proxy_pass. In this case, replacing /auth for / as in /auth/realm/foo with /realm/foo