Table of Contents

  1. Introduction to API Manager
  2. Administration
  3. Organization policies
  4. Analytics

API Manager Guide

API Manager Guide

Configuring JSON Web Token Authentication

Configuring JSON Web Token Authentication

After you create a managed API for a service that you published in Informatica Cloud Application Integration, you can configure JWT authentication, generate a token, and set an expiration date for the token. Optionally, you can make the managed API available in API Portal so that API Portal users can discover it in API Portal and invoke it.
  1. On the API Registry page, click the managed API for which you want to configure JWT authentication.
  2. On the General tab, from the Authentication Method list, select one of the following values:
    Value Description
    JWT - JSON Web Token
    Select to configure JWT authentication with tokens. You can generate a token and set an expiration date for it.
    You can invoke the API by passing the token as a bearer token in the HTTP Authorization header. For example:
    Authorization: Bearer aF…mk
    JWT and Basic
    Select to configure JWT authentication with tokens and allow basic authentication for the managed API.
    You can generate a token and set an expiration date for it. When you select this option, you also allow the API to be accessed by the allowed user groups and allowed users defined for the API in Informatica Cloud Application Integration.
    If you select this option, you can invoke the API by both the following methods:
    • Passing the token as a bearer token in the HTTP Authorization header
    • Providing the login credentials of the allowed user groups or users
    You cannot configure JWT authentication if you select the Basic option.
    After you select the JWT - JSON Web Token option or the JWT and Basic option, the Expiration Date field and the Generate button become available as shown in the following image:
  3. Save the changes.
  4. Select an expiration date for the token.
  5. Click Generate to generate a token.
    API Manager creates a token for the managed API as shown in the following image:
    After you generate a token for the first time, the Generate New Token button appears. You can click this button to generate a new token if your earlier token has expired. After you generate a token, you cannot revoke the token.
  6. Click Copy Token to copy the token.
  7. Optionally, you can click the Swagger tab to view the generated Swagger definition.
    You cannot view the Swagger definition or WSDL URL from a browser as the browser does not contain the token details.
  8. Optionally, you can make the managed API available in API Portal so that API Portal users can discover it in API Portal and invoke it. Click the managed API and verify that the Available on API Portal option is selected.
You can then invoke the API based on the authentication method it uses.


Updated September 11, 2019


Explore Informatica Network