-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
I am building a microservice that integrates with Okta using the Okta Java SDK to retrieve user and group data. For automated testing I'd like to use WireMock to mock the Okta API endpoints so my application code can be fully exercised, without hitting Okta rate limits as well as easier setup of test data for many different scenarios. However, so far I haven't been able to find a way to configure the Okta SDK to work with my WireMock endpoints due to two issues:
- The Okta SDK does not accept an
http://URL and requireshttps:// - I can configure WireMock to run over HTTPS with a custom KeyStore, but have not found how I can configure the Okta SDK to trust the custom KeyStore using a TrustManager/SSLContext
I did find this comment which was promising but it appears ClientBuilder.setRequestExecutorFactory() was removed in SDK v10.0.0. Is there a comparable way to accomplish my needs in the current SDK version?
Metadata
Metadata
Assignees
Labels
No labels