Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Webhook new authentication
Member
Apr 15, 2019 8:07 AM
Hello,
I have a problem with the new authentication method of a webhook.
I have implemented the new authentication in PHP.
I made :
$method = $request->getMethod(); $uri = $request->getUri(); $body = json_encode($request->request->all()); $sha256Key = hash('sha256',$apiKey.$method.$uri.$body);
The sha256 in header is not equal to the sha256 calculate.
I don't understand the difference.
Can you help me ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content