Okta SDK HttpClient Interceptor

Hi All,

I am using Okta’s java based SDK for interacting with its APIs. My requirement is to attach request response interceptors to base apache http client used within Okta’s SDK Client. Can anyone suggest how to do so? I did not find any methods on Client Builder to register interceptors.

Thanks

@ankitpulkit.raj Which Okta SDK you are working now? Is there a link?

@Lijia , I am using this sdk: GitHub - okta/okta-sdk-java

@ankitpulkit.raj You may check Build a Basic CRUD App with Angular 5.0 and Spring Boot 2.0 . It uses an HttpInterceptor to add an authorization header.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.