Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scopes details to tooltip in CustomPadLock #849

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nimsara66
Copy link
Contributor

@nimsara66 nimsara66 commented Jan 13, 2025

Purpose

To address the customer's requirement of displaying the required scopes for API invocation in the Devportal Try Out console of the APIM, ensuring that subscribers can view the necessary scopes without relying on custom UI modifications.

Goal

To provide a native solution in APIM that enables users to view the required scopes for invoking an API in the Devportal Try Out console.

Approach

The CustomPadLock.jsx component is rendered for each operation in the Devportal Try Out console. It extracts the relevant scopes for each operation and displays them in a table within the tooltip of a custom padlock icon, as illustrated in the sample below.

image

If the security is disabled,

image

Issue

Related to: wso2/api-manager#3407
Internal: https://github.com/wso2-enterprise/wso2-apim-internal/issues/8005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant