HMAC Authentication Doesn't Work
(Doc ID 2280052.1)
Last updated on DECEMBER 16, 2019
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document