Jelle
Explore posts from serversNNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
I fixed it with this
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
Im pretty sure you just POST this
You're not supposed to send your api key over from the client
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
Youre not sending the hmac hash though
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
And that it's sent correctly to the novu api
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
Are you sure you're using the correct values everywhere?
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
Yep it does
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
Let me check if it still works in our app lmao
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
I don't really see anything wrong in your code though, looks the same
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
This is my implementation,
ComputeHash(string)
is called with the subscriberId
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
My last message got it working for me
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
May be worth adding to the docs that it should be a lowercased hex hash @Pawan Jain
28 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
So I fiddled around with it and turns out that it was happening because the Convert.ToHexString generates it in uppercase, converting it to lowercase fixes it
28 replies
❔ HMAC encrypt a string
In the end I snatched up the code in this post: https://stackoverflow.com/questions/11790599/python-hmac-and-c-sharp-hmac
Which in the end just returns the same thing except that it's lowercase instead of uppercase lol
16 replies
❔ HMAC encrypt a string
I found this which was interesting https://stackoverflow.com/questions/64010313/why-does-digest-and-digesthex-result-in-different-outputs
16 replies
NNovu
•Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
The novu api key, app id, and the subscriber id seems to be correct
28 replies
NNovu
•Created by Jelle on 10/12/2023 in #💬│support
SES emails not going through
Well anyway thanks guys! 😄
17 replies