Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Given below is the configuration related to API Manager JWT generation that can be found in $CARBON<APIM_HOME\HOME>/repository\/conf\/api-manager.xml file.

Code Block
languagehtml/xml
linenumberstrue
<APIConsumerAuthentication>
    <SecurityContextHeader>X-JWT-Assertion</SecurityContextHeader>
    <ClaimsRetrieverImplClass>org.wso2.carbon.apimgt.impl.token.DefaultClaimsRetriever</ClaimsRetrieverImplClass>
    <ConsumerDialectURI>http://wso2.org/claims</ConsumerDialectURI>
    <SignatureAlgorithm>SHA256withRSA</SignatureAlgorithm>
    <EnableTokenGeneration>true</EnableTokenGeneration>
</APIConsumerAuthentication>

Let's take a look at each parameter in the XML file in detail.

Table of Contents

...