HMAC Authentication Doesn't Work
Last updated on JUNE 28, 2017
Applies to:Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.
If you are encountering issues using HMAC to hash a request body when creating a webhook, note the following potential issue. You may have something similar to the following in your code. If you are using the below statement to assign a value to the SecretKeySpec object, it is incorrect:
There may not be any logging or symptoms associated with encountering this issue as you might encounter it during development and debugging your code and notice the values are carrying properly and the incorrect signature is getting returned.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms