Hi. I’m having some trouble validating sessions wi...
# ory-network
f
Hi. I’m having some trouble validating sessions with the
kratos-client-java
library. I’m getting this exception:
Copy code
java.lang.IllegalArgumentException: The field `provider` in the JSON string is not defined in the `SessionAuthenticationMethod` properties. JSON: {"method":"oidc","aal":"aal1","completed_at":"2023-08-08T13:06:43.107679019Z","provider":"microsoft"}
I also registered an issue in the Github repo earlier today: https://github.com/ory/kratos-client-java/issues/13
Any updates on this? My customers would love to log in with AD again.
p
if you are using the Ory network, I believe you need to upgrade the ory package to https://mvnrepository.com/artifact/sh.ory/ory-client
☝️ 1
s
Do you have the most recent client version? note that
kratos-client-java
is aligned with Kratos releases, but Ory Network is sometimes a bit ahead.
f
Thank you! I was not aware that I was using the wrong client lib 🙂