I am trying to use the Java Management SDK to create scopes (org.openapitools.client.api.AuthorizationServerApi#createOAuth2Scope(java.lang.String, org.openapitools.client.model.OAuth2Scope)). In the UI I see an option for consent method as Optional but the SDK doesn’t allow that in its enum (org.openapitools.client.model.OAuth2ScopeConsentType). How do I use the SDK to mark consnet as optional? I tried setting it to null and that marked it as Implicit in the UI.
Using version 10.3.0 of the Java SDK:
com.okta.sdk
okta-sdk-api
10.3.0