APIM Login redirect URI error

Hi, I’m trying to setup Okta OAuth 2.0 authentication on Azure API manager.

When triggering the authorization attempt from the API portal I get the following error:

“400 Bad Request Your request resulted in an error. The ‘redirect_uri’ parameter must be a Login redirect URI in the client app settings: https://{org}.okta.com/admin/app/oidc_client/instance/{clientId}#tab-general

I added the following URL to my okta application Sign-in redirect URIs.

What else do I need to configure? Please assist.

Just another comment.

This is the response I get in a browser page
{“code”:“BadRequest”,“message”:“Authorization code grant flow is not supported.”}

when trying this URL https://{domain}-azapiman.developer.azure-api.net/signin-oauth/code/callback/okta

Issue is related to a bug on the APIM developer portal