Table of Contents

Search

  1. Preface
  2. Introduction to API Manager
  3. API management
  4. Organizational access policies
  5. API-specific policies
  6. API groups
  7. Authentication and authorization
  8. API Microgateway Service
  9. Analytics

API Manager Guide

API Manager Guide

Create an OAuth 2.0 client for the API Microgateway Service

Create an OAuth 2.0 client for the API Microgateway Service

Create an OAuth 2.0 client that enables managed API consumers to invoke managed APIs for the API Microgateway Service where OAuth 2.0 authentication is enabled by using an application or service that supports token authentication.
  1. Open the following URL template:
    https://{<host_URL>}/apimgmt/v0.4/oauth/client
    where,
    <host_URL>
    is the API Manager POD URL.
    For example,
    apim-pod2.dm-us.informaticacloud.com
    for US East POD.
  2. Edit the values of the request body to enable the OAuth 2.0 client for API Microgateway.
    1. In the
      "name"
      field, enter a name for the OAuth 2.0 client. The name is case sensitive and must be unique in the organization.
      The name can contain up to 32 characters, including any letter on the ASCII table, non-Latin characters, any digit, spaces, and the special characters . _ and -. The name cannot contain any of the following characters: / " ' < > & : ~ ! @ # ; % ^ * + = { } | , \
    2. Optionally, in the
      "description"
      field, enter a description of the OAuth 2.0 client.
      The description can contain up to 1,024 characters, including any letter on the ASCII table, non-Latin characters, any digit, spaces, and the special characters . _ and -.
    3. Optionally, in the
      "accessTokenTimeout"
      field, enter a timeout value in minutes for the access token.
      You can enter a value from 5 through 1440. If you don't enter a timeout value, the token timeout is 60 minutes.
  3. Invoke a POST call.
    The OAuth 2.0 client is enabled for all the API Microgateway Service managed APIs in the organization that invoke an
    Application Integration
    process that uses basic authentication. You can view the enabled OAuth 2.0 client on the
    OAuth 2.0 Clients
    table on the
    Authorization
    tab of the
    Policies
    page in
    API Manager
    .
  4. On the
    Authorization
    tab, click
    Copy URL
    and send the access token to API Microgateway consumers.

0 COMMENTS

We’d like to hear from you!