Creating an Identity provider using Okta SDK Java

,

Hi, sorry for the late reply.

I actually found the IdentityProvider class. I used it to construct the properties of the identity provider.
For the API connection I used Clients.builder() for an ApiClient object, which I passed to the constructor of IdentityProviderApi. Then, the object of IdentityProviderApi has the method createIdentityProvider(idp), which basically uses the invokeAPI method under the hood.

Thanks for the suggestions and the docs.

1 Like