❔ HMAC encrypt a string
Hey guys I'm trying to HMAC encrypt a string but the resulting hash is being rejected by the server I want to use it on. It's returning
I'm trying to achieve this: https://docs.novu.co/notification-center/client/react/get-started#enabling-hmac-encryption
With my code looking like this:
I'm wondering if I'm just doing it wrong or if there's something else perhaps.. I triple checked the values I'm using and they should be correct
The hash that I output is
400 Bad Request: "Please provide a valid HMAC hash"I'm trying to achieve this: https://docs.novu.co/notification-center/client/react/get-started#enabling-hmac-encryption
With my code looking like this:
I'm wondering if I'm just doing it wrong or if there's something else perhaps.. I triple checked the values I'm using and they should be correct
The hash that I output is
18A22B366AF133C8ADD62E471BB3F91984D12E495CD4EC33999DEE8B48722E39