-
Notifications
You must be signed in to change notification settings - Fork 286
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
fix(client): correct serverinfo endpoint #382
Conversation
I guess the test failure is unrelated i'll have to have a closer look at that |
Looks like these tests: Lines 625 to 660 in 18f0f3d
As they are marked as parallel, it could be a race condition somehow? |
See #396 which should resolve the test issues |
Codecov Report
@@ Coverage Diff @@
## main #382 +/- ##
=======================================
Coverage 77.14% 77.14%
=======================================
Files 4 4
Lines 2140 2140
=======================================
Hits 1651 1651
Misses 333 333
Partials 156 156
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
3606b96
to
dfc9b76
Compare
@Nerzal i assume the tests failed because keycloak was not yet ready, maybe you can run them again? I rebased the branch so it should work actually |
Tests do now run, but as this is a breaking change, we'd have to bump the major version. |
Actually it broke in Gocloak v12, as in v11 it was working just fine: I think it has been part of keycloak "ever since", it was introduced 2014 in this commit: keycloak/keycloak@97897ca (Keycloak 1.0-alpha-2) |
I'm not 100% sure what to do with this. |
@Nerzal i think we are mixing things up, it broke in gocloak v12, Keycloak has this API since v1. Line 256 in 9556250
This is gocloak v12: Line 270 in 18f0f3d
The serverinfo was never an array, I think a typo in gocloak made it one? |
Okay, i'll have a look into that on Monday. |
Hi @Nerzal,
I assume the serverinfo broke with the latest update, it should be one
ServerInfoRepresentation
and the path should be/serverinfo
, not/realms
.Let me know if I'm missing something here?
Best and thanks for all the work, Basti