We’re trying to update our Java Okta SDK from 2.0.1 to 4.1.1, and our code that calls client.listPolicies(“PASSWORD”) is now returning AuthorizationServerPolicyList instead of PolicyList. The confusing part is that AuthorizationServerPolicyList appears to be incompatible with PasswordPolicy, which then leads to our code crashing. Is there some other way now to obtain a list of password policies?
Related topics
Post | Replies | Views | Activity | |
---|---|---|---|---|
Policy Creation fails after upgrading to sdk v13.0.2 | 4 | 1663 | October 3, 2023 | |
Returning patterns for policy rules with new Okta sdk version 7 | 2 | 780 | May 15, 2024 | |
Change in Okta sdk behavior - 403 Access forbidden | 4 | 3421 | March 10, 2022 | |
Upgrading SDK from 15 to 21, how to figure out where things are at | 2 | 17 | April 25, 2025 | |
Not able to call okta password and signon policy | 3 | 3085 | February 8, 2024 |