Closed kamilkloch closed 4 months ago
Would this be fixed by https://github.com/ory/kratos/pull/3727 ?
I would not know, we will see once it is merged. Hopefully soon.
same happens for go client
Quite a bit disappointing lack of follow-up on the broken kratos clients from the ory team.
Hi, se appreciate help in fixing this as we lack Java experts and use an automated generator for this. Maybe upgrading the generator can already fix this!
ps: For the Go client we have identified a fix
And @kamilkloch we are actively working on this problem as you can see with several PRs and merges. So not sure what exactly you find disappointing but let's look at the facts.
Are there perhaps any estimates on the patch release, or do you advise to generate the client from the sources?
Hey @aeneasr - is there anything we can do to help move the Java client fix along? I commented here asking for visibility on where the PRs are which are being worked on, but got no response.
I'm not a Java person, but if there is something I can do to help I'd spend some time on it as our team is severely blocked by the inop Java SDK.
EDIT: And some visibility on what the Ory team is currently looking at/not looking at would help me focus effort.
Is there any ETA of the fix?
I was actually looking into it this morning, and I'm trying to understand why in https://github.com/ory/sdk/pull/344 useOneOfDiscriminatorLookup
is enabled to fix the Go SDK (https://github.com/ory/kratos/issues/3807#issuecomment-2007822298) but not included in the Java config. I feel as though this should fix the issue but without direction from @aeneasr it's difficult to know whether this has been tried or not.
Similarly, I would be interested to know why in https://github.com/ory/sdk/commit/c2fbcd590a7f1a49d7e92f7a4b811d0dd2b0cca4 the Java openapi-generator was downgraded from 7.4.0 to 7.3.0.
I will try to generate the SDK myself and see if the discriminator config makes a difference.
So it appears to work for me by setting useOneOfDiscriminatorLookup
. I'll open a PR in the sdk repo.
Preflight checklist
Ory Network Project
No response
Describe the bug
Kratos Java client 1.1.0 throws exception on parsing response from
updateRegistrationFlow
.Reproducing the bug
Kratos logs (all OK, 200):
Kratos logs (all OK, 200):
Java client fails to parse the response:
Relevant log output
No response
Relevant configuration
No response
Version
1.1.0
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker Compose
Additional Context
No response