Jelle
Jelle
Explore posts from servers
NNovu
Created by Jelle on 10/13/2023 in #💬│support
Enabling HMAC for in-app with C#
Hey guy's im setting up HMAC for in-app and endpoint https://api.novu.co/v1/widgets/session/initialize is giving me a 400 Bad Request "Please provide a valid HMAC hash" and I was wondering if there's some obvious error im making when generating it
using var hmac = new HMACSHA256(Encoding.UTF8.GetBytes(_novuConfig.ApiKey));
var notificationCenterHash = Convert.ToHexString(hmac.ComputeHash(Encoding.UTF8.GetBytes(subscriberId)));
using var hmac = new HMACSHA256(Encoding.UTF8.GetBytes(_novuConfig.ApiKey));
var notificationCenterHash = Convert.ToHexString(hmac.ComputeHash(Encoding.UTF8.GetBytes(subscriberId)));
I'm basically using the React example from the docs:
<NovuProvider
subscriberId={user.id}
applicationIdentifier={env.NOVU_APP_ID}
subscriberHash={user?.notificationCenterHash}
>
<PopoverNotificationCenter colorScheme="light">
{({ unseenCount }) => <NotificationBell unseenCount={unseenCount} />}
</PopoverNotificationCenter>
</NovuProvider>
<NovuProvider
subscriberId={user.id}
applicationIdentifier={env.NOVU_APP_ID}
subscriberHash={user?.notificationCenterHash}
>
<PopoverNotificationCenter colorScheme="light">
{({ unseenCount }) => <NotificationBell unseenCount={unseenCount} />}
</PopoverNotificationCenter>
</NovuProvider>
28 replies
NNovu
Created by Jelle on 10/12/2023 in #💬│support
SES emails not going through
Hey guys, I set up the AWS SES integration in Novu, it says the e-mails are sent correctly in Novu We're not in the Sandbox, and the identity I'm trying to use is verified. The identity also has a default configuration set that should forward all events but I'm not seeing anything pop up.. although the sent email counter does increase in the AWS console Any ideas what else I could check?
17 replies
NNovu
Created by Jelle on 8/18/2023 in #💬│support
.NET Client JSON Serializer exception when deserializing CreateSubscriber response
No description
27 replies