Closed kjoscha closed 2 years ago
You should also be able to get this working by passing in the base_url client_option as an empty string (client_options: {... base_url: '', ....}
), see Configuration section of the README.md
I will update the documentation more clear that this needs to be passed in when using Keycloak version >= 17 but I would prefer to not make it the default as I'm sure there are existing users that would prefer to not break their existing setup.
THanks for fixing this! The updated burned me, and I was thinking "ugh, I am going to have to hack my app" so seeing this out was a nice surpirse!!!!!
With Keycloak 17 "/auth" was removed from all endpoints. Thus, endpoints as
http://localhost:8080/auth/realms/fdz/protocol/openid-connect/auth
have changed tohttp://localhost:8080/realms/fdz/protocol/openid-connect/auth
.See upgrading guide: https://www.keycloak.org/docs/latest/upgrading/index.html
Workaround is to use the
--http-relative-path '/auth'
option with the keycloak start command