api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Error configuring Okta as Key Manager

Open tharikaGitHub opened this issue 1 year ago • 0 comments

Description

When configuring the OKTA key manager from the Admin portal we can specify the supported grant types and the Devportal UI will only show the grant types that we provided from the admin portal.

However, if the user selects an unsupported grant type or response types for OKTA and try to generate keys through the Developer portal, there will be an error as shown below.

Screen Shot 2023-11-16 at 3 42 56 PM

Once the Cleanup button is clicked, there will be another error as "Error occurred while cleaning up application keys".

Screen Shot 2023-11-16 at 3 44 21 PM

Hence using invalid or unsupported grant types or response types when generating application keys causes the created application to be in an inconsistent state. Therefore the error coming from OKTA should be handled properly in APIM side.

Steps to Reproduce

Affected Component

APIM

Version

4.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

tharikaGitHub avatar Nov 16 '23 10:11 tharikaGitHub