Hi! I'm banging my head to the wall with HMAC authentication. I have tried to implement this various ways but nothing seems to work.
If someone could help on this it would be great!
Here is a code that I have tried and working Javascript example, tested on Postman.
Set Appkey = "itsasecretkey"
Set requestTimeStamp = $ZDATETIME($HOROLOG,-2)
Set nonce = ..getRandomString()
Set signatureRawdata = Appid_requestTimeStamp_nonce
Set keyUTF8 = $zconvert(Appkey,"O","UTF8")
Set signatureRawdataUTF8 = $zconvert(signatureRawdata,"O","UTF8")
Set tSigningKey = $SYSTEM.Encryption.