IdentityProviderApi
cannot properly deserialize /ipds
responses
#972
Labels
IdentityProviderApi
cannot properly deserialize /ipds
responses
#972
Describe the bug?
okta-sdk
v.14
that is using polymorphic deserialization cannot correctly deserialize responses from/api/v1/idps/${idpId}
endpoint.Below are a few tests to demonstrate the issue.
The same test but without ignoring the Jackson error
Full stack trace from the test above
What is expected to happen?
IdentityProviderApi
should return Identity providers with policy field properly populated from Okta/idps/*
endpoint responsesWhat is the actual behavior?
IdentityProviderApi#getIdentityProvider
returns an Identity Provider with NULLpolicy
field even though thepolicy
object is present in the REST responseReproduction Steps?
Please see the provided unit tests
Additional Information?
No response
Java Version
openjdk version "17.0.5" 2022-10-18 LTS
OpenJDK Runtime Environment Corretto-17.0.5.8.1 (build 17.0.5+8-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.5.8.1 (build 17.0.5+8-LTS, mixed mode, sharing)
SDK Version
14.0.0
OS version
Darwin C02G22CMMD6R 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:48:06 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_X86_64 x86_64
The text was updated successfully, but these errors were encountered: