I’m using okta-idx-swift library to try to connect to a given (client supplied) configuration that can or not be an Okta Identity Engine environment.
If the configuration is not OIE I’m having this “generic” error when signing in:
▿ InteractionCodeFlowError ▿ apiError : APIClientError ▿ serverError : OAuth2ServerError - code : "access_denied" - description : "The requested feature is not enabled in this environment."
ultimately, what I would like to do is to do is to check early on if the environment is an OIE, if not fallback to using
What would be the recommended way to achieve this ?