Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust endpoints to updated Keycloak paths #29

Closed
kjoscha opened this issue Jun 14, 2022 · 2 comments
Closed

Adjust endpoints to updated Keycloak paths #29

kjoscha opened this issue Jun 14, 2022 · 2 comments

Comments

@kjoscha
Copy link

kjoscha commented Jun 14, 2022

With Keycloak 17 "/auth" was removed from all endpoints. Thus, endpoints as http://localhost:8080/auth/realms/fdz/protocol/openid-connect/auth have changed to http://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

@ccrockett
Copy link
Owner

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.

@epugh
Copy link

epugh commented Jul 18, 2022

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!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants