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

Keycloak 22.x breaking change #34

Open
rofl opened this issue Nov 17, 2023 · 1 comment
Open

Keycloak 22.x breaking change #34

rofl opened this issue Nov 17, 2023 · 1 comment

Comments

@rofl
Copy link

rofl commented Nov 17, 2023

Hi all!

We updated our system to the newest Keycloak version and lost the possibility to open Apache Artemis Console, which is using hawtio with hawtio-oauth. My browser console is logging this exception:
grafik

With Keycloak 21.1.x the Keycloak JS adapter must be instanciated with the new operator:
https://www.keycloak.org/docs/21.1.2/upgrading/#keycloak-js-adapter-must-be-instanciated-with-the-code-new-code-operator
grafik

With Keycloak 22.x it transitioned to an Error (seems to me Keycloak does not document this change):
grafik

Cheers!

@rofl
Copy link
Author

rofl commented Nov 24, 2023

Could it be just this line, which is missing an "new"?
https://github.com/hawtio/hawtio-oauth/blob/main/plugins/keycloak/keycloak.module.ts#L112

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

1 participant