wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
848 stars 786 forks source link

[Devportal][UI] Enable the Token Expiry Time textboxes according to selected grant types. #10568

Open SanojPunchihewa opened 3 years ago

SanojPunchihewa commented 3 years ago

Describe your problem(s)

Even we have selected only Client Credentials grant type, all the Token Expiry Time textboxes are enabled. It would better if we can enable the textboxes according to selected grant types.

For example, the Callback URL textbox is enabled only when Code grant type is checked.

oauth_tokens

Describe your solution

Enable the Token Expiry Time textboxes according to selected grant types.

Suggested Labels:

API-M 4.0.0, Type/Improvement

tharindu1st commented 3 years ago

Since the UI was auto-populated this will not be able to handle at that point we will check on enabling this in future release