5 Replies Latest reply on Nov 19, 2018 7:06 AM by bhim mantha

    Configure ICRT/ICAI Service Connector to consume a OAUTH1.0 based endpoint

    Manuel David Pandian New Member

      How to configure an Informatica ICRT Service Connect to consume a REST API EndPoint via OAUTH Authentication.

       

      OAUTH Headers needs below values and below are necessary values/logic.

       

      realm

      <PROVIDED BY EndPoint>

      oauth_consumer_key

      <PROVIDED BY EndPoint>

      oauth_token

      <PROVIDED BY EndPoint>

      oauth_signature_method

      HMAC-SHA1

      oauth_timestamp

      Generate at runtime using XQUERY {date:now()}

      oauth_nonce

      Random text, Generate using XQUERY {util:generate-random-string(20)}

      oauth_version

      1.0

      oauth_signature

      Follow below complex steps

       

      Logic for oauth_signature

       

      Step 1) Generate Plain Signature

      URL-encoded string containing the HTTP method, the API URL and a set of parameters composed of the consumer key, the nonce, the signature method, the access token and the version


      Step 2) Generate Signature

      base64 encoded key generated applying the HMAC-SHA1 algorithm to the plain signature.

       

      Is there any documentation/ guide on how to generate this oauth_signature at runtime in service connector?