Table of Contents

Search

  1. Preface
  2. Connectors and connections
  3. Connection configuration
  4. Connection properties
  5. Swagger file generation for REST V2 connections

Connections

Connections

Authorization code authentication

Authorization code authentication

To use authorization code authentication, you must first register the following Informatica redirect URL in your application:
https://
<Informatica cloud hosting facility for your organization>
/ma/proxy/oauthcallback
If the access token expires and the response returns 401 error code, Informatica redirect URL, which is outside the customer firewall, tries to connect to the endpoint and retrieve a new access token.
The following table describes the OData V2 Protocol Reader connection properties for an OAuth 2.0 authorization code authentication type connection:
Connection property
Description
Runtime Environment
Name of the runtime environment where you want to run the tasks.
Auth Type
The authentication method that the connector must use to connect to the OData V2 endpoint.
Select
OAuth 2.0 authorization code
.
Default is Basic.
Authorization Token URL
Authorization server URL configured in your application.
Access Token URL
Access token URL configured in your application.
Client ID
The client identifier issued during the application registration process.
Client Secret
The client secret issued during the application registration process.
Scope
The scope of the access request when the OData V2 endpoint has defined custom scopes.
Enter space-separated scope attributes. For example:
ZGWSAMPLE_BASIC_0001 /IWFND/SG_MED_CATALOG_0002 ZAPI_CHARTOFACCOUNTS_SRV_0001
Access Token Parameters
Additional parameters to use with the access token URL.
Define parameters in the JSON format. For example:
[{"Name":"resource","Value":"https://<serverName>"}]
Authorization Code Parameters
Additional parameters to use with the authorization token URL.
Define parameters in the JSON format. For example:
[{"Name":"max_age","Value":60},{"Name":"state","Value":"test"}]
Client Authentication
The client authentication details for authorization.
Select an option to send client ID and client secret for authorization either in the request body or in the request header.
Default is
Send client credentials in body
.
Generate Access Token
Generates access token and refresh token based on the specified authentication details.
Access Token
The access token granted by the authorization server to access the data using a specific role.
Enter the access token value or click
Generate Access Token
to populate the access token value.
Refresh Token
Allows the Secure Agent to fetch new access token if the access token is not valid or expires.
Enter the refresh token value or click
Generate Access Token
to populate the refresh token value.
If the refresh token expires, you must either provide a valid refresh token or click
Generate Access Token
to regenerate a new refresh token.

0 COMMENTS

We’d like to hear from you!