ory / kratos-client-java Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
@aeneasr
The current generated Java client library seems geared towards Java 7 with a lot of outdated/unnecessary dependency baggage:
io.swagger:swagger-annotations com.google.code.findbugs:jsr305 com.squareup.okhttp3:okhttp com.squareup.okhttp3:logging-interceptor com.google.code.gson:gson io.gsonfire:gson-fire org.apache.oltu.oauth2:org.apache.oltu.oauth2.client org.apache.commons:commons-lang3 org.threeten:threetenbp javax.annotation:jsr250-api junit:junit
The OpenAPI code generator allows for more modern generated code when specifying library=native or library=microprofile rather than what appears to be currently used library=okhttp-gson (e.g. the default option)
Ideally, what would be pushed to maven central are at least 3 artifacts (1 legacy + 2 new), that developers can choose from, for example (in Gradle project):
implementation 'sh.ory.kratos:kratos-client:0.5.4-alpha.1' //For current users
implementation 'sh.ory.kratos:kratos-client-native:0.5.4-alpha.1' //For Java 11+ users
implementation 'sh.ory.kratos:kratos-client-microprofile:0.5.4-alpha.1' //For microprofile users
This is mostly maven/gradle code generation effort. I can take a stab at it, but need to know if you use maven or gradle for code generation (I see both present?)
Documentation in Repo states to use v0.7.1-alpha.1 but artifact is missing in maven central.
Latest version available is 0.6.3-alpha.1
https://mvnrepository.com/artifact/sh.ory.kratos/kratos-client
Version 0.6.3-alpha.1 is incompatible with deployed kratos version >= v0.7.1
Any news on when the artifact will be published?
The version specified in the README, v0.6.0-alpha.2, does not appear to exist in maven central. Would it be possible publish this version? What is currently published does not seem to be compatible with the current version of Kratos.
The upstream issues got closed. It is referenced in:
This issue was created by the ORY Closed Reference Notifier GitHub action.
No response
I've been using social sign in with Azure AD successfully for some time, but there now seems to be a problem when trying to verify the users that are signed in using Azure. This problem might have been there for a long time, because this feature has not been used much in our system.
Steps to reproduce the behaviour:
frontendApi.toSession(null, cookie)
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"}
No response
0.13.1
macOS
Ory Network
This was working before. At first I thought the problem was with me not having updated the kratos-client-java version for a long time, but upgrading to 0.13.1 did not do the trick.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.