Skip to content

[Doc] No documentation on adding name to a custom grant type in API Store. #2314

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

Closed
SupunS opened this issue Jan 16, 2018 · 1 comment
Closed

Comments

@SupunS
Copy link

SupunS commented Jan 16, 2018

Description:
When a custom grant type is added to APIM, and once the indentity.xml is updated, in the API Store UI, it shows without a name.

custom-grant-type-1

To set a name, We need to do the following:

  • Open <APIM_HOME>/repository/deployment/server/jaggeryapps/store/site/themes/wso2/js/applications.js
  • Add a new entry under the "config" of the "GrantType" object (first variable) with "urn:ietf:params:oauth:grant-type:jwt-bearer" as the key and "JWT" (Or any desired name) as the value. See below:
var GrantTypes = function (available) {
    this.config = {
        ...
        ...
        "urn:ietf:params:oauth:grant-type:jwt-bearer":"JWT"
    }
    ...
    ...
};

These information are missing in the APIM docs.

Suggested Labels:
Documentation, Docs

Affected Product Version:
APIM 2.1.0

@samgnaniah
Copy link
Contributor

We will not be fixing this as this issue is based on an older version of the product

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

No branches or pull requests

4 participants