3

I have Configured WSO2 Identity Server as a Key Manager successfully. But I couldn't find a way to set WSO2-IS as Key Manager for try-out console in Dev portal. It says "The Resident Key Manager is selected for try out console".

Can I set WSO2-IS as Key Manager for try out console?

enter image description here

What I have tried (With no success):

  1. In Runtime Configurations for API, only Allow WSO2-IS as key manager (from publisher portal)

  2. Disable "Resident Key Manager" from admin portal

I'm using API-M 3.2.0 & IS 5.11.0

Community
  • 1
  • 1
Pradeepal Sudeshana
  • 908
  • 2
  • 14
  • 30
  • Did you follow the instructions as mentioned in this [doc](https://apim.docs.wso2.com/en/latest/administer/key-managers/configure-wso2is-connector/) ? – Sarangan Feb 02 '21 at 15:17
  • @Sarangan Yes, I followed those instructions, But that Doc has nothing about "change Key Manager for try-out console". Other parts are working as expected. IS configured successfully, I can invoke APIs using those access tokens using external Curl commands. But not inside theTry-out section. I can't change Key Manager for try-out console – Pradeepal Sudeshana Feb 02 '21 at 15:46

1 Answers1

1

When you are generating the keys, you can select the key manager which is configured on the topmost level of the form. This has been mentioned in other docs.

For example, when configuring okta as a KM you need to select okta and generate keys.

Same as above select WSO2-IS as the Key manager and generate Tokens.

EDIT

You need to configure it as a connector and disable the resident KM for the API. Then try out page will pick the third party KM.

Sarangan
  • 868
  • 1
  • 8
  • 24
  • Sorry for the confusion, But my issue is only about "Try out page" (see the screenshot). I want to "Change KM for try out page" – Pradeepal Sudeshana Feb 03 '21 at 02:07
  • All other steps are completed (configure KM, generate Tokens using new KM, invoke APIs using those tokens from external cUrl commands working as expected ). But cUrl commands available in "Try out" page still connected to the "Resident Key Manager". So valid Tokens from IS are still failing inside built-in cUrl consoles in "Try out page" – Pradeepal Sudeshana Feb 03 '21 at 02:12
  • Edited the answer :) – Sarangan Feb 03 '21 at 03:00
  • @PradeepalSudeshana were you able to change Key Manager for the "Try Out" block? If yes, could you post your answer ?? – Iam8139 Sep 14 '22 at 08:48
  • @Iam8139 Unfortunately I did not succeed. – Pradeepal Sudeshana Sep 15 '22 at 03:51