Secure Webhooks

Hi,

As per the Secure Webhooks section (https://developers.wrike.com/webhooks/) documentation, registered our URL with secret (Point 1).

Wrike was able to send the request to hookUrl with header X-Hook-Secret. which contains random alphanumeric string (Point 2)

Calculated hmacSha256 value is sent in response X-Hook-Secret header (Point 3)

What exactly is meant by the request body in Point 4: hmacSha256(key: secret, value: request body) 

On calculating the hmacSha256 value for request body received from Wrike using our secret is not matching with X-Hook-Secret header value.

Can you please suggest how to resolve this issue.

Please note that payload received in Point 2 is object and payload received in Point 4 array for event type 'CommentAdded'.

 

 

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
1 comment

Welcome to the Wrike Community, Guru Dabbadi. 🎉

I have raised a ticket with our Support team. Our API experts will be able to help you with this. Please expect them to reach out soon. Thank you! 😊

Basudha Sakshyarika Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Basudha Sakshyarika Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Secure Webhooks
[this list is visible for admins and agents only]

Top

Upcoming Live Sessions

Didn’t find what you were looking for? Write new post