We use the Okta Java SDK to communicate between our API server and our Okta instance. This is primarily used to manage users and groups from within our app.
For that, we use com.okta.sdk:okta-sdk-api:16.0.0
(Gradle 8) and com.okta.sdk:okta-sdk-impl:16.0.0
as a runtime only dependency.
We also have to include com.okta.commons:okta-http-httpclient:1.3.5
for our app to work.
We understand there is an Apache HTTP Client implementation and an OkHttp client implementation.
Our question is: where is any of this documented?
We read the documentation here and cannot find any reference to that project.
We also had an issue where the version of Apache Client 5 was incompatible, but again, without any documentation, it’s hard to follow instructions. According to Maven Central repo, that library has a compile-time dependency on Http Client v4 (4.5.14
at the time of this post).