You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Implementing Dynamic HMAC-SHA1 Authentication in OIC Gen 3 using JavaScript Libraries

Hi

We are currently working on REST API integration in Oracle Integration Cloud (OIC) Gen 3. This API requires a custom Authorization header to be dynamically generated for each request using an HMAC-SHA1 signature.

The required authorization format is as follows:

var verb_request_string = method + "\n\n\n" + timestamp_string + "\n" + request_string;

var encrypted_string = CryptoJS.HmacSHA1(verb_request_string, private_key);

var signed_hash = encrypted_string.toString(CryptoJS.enc.Base64);

var authorization_header = 'INTF ' + public_key + ":" + signed_hash;

We attempted to implement this logic using custom JavaScript library functions and within the integration flow. However, the implementation has not been successful.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!