On 18/10/2014 3:57 AM, Stefan Arentz wrote:
> 
> On Oct 17, 2014, at 3:27 AM, Manoj Kumar S <[email protected]
> <mailto:[email protected]>> wrote:
> 
>> /"Did you run your unit tests against the example requests
>> from https://github.com/hueniverse/hawk ?"/
>>
>> Manoj : -  I am completely  unaware of sample request for
>> /certificate/sign.
>>
> 
> The example requests mentioned on https://github.com/hueniverse/hawk are
> not FxA specific. They simply are example Hawk GET and POST requests
> with known values so that you can test your code that makes the Hawk
> signatures. So if your code works with the examples, it should also work
> with requests like POST /v1/certificate/sign

In particular, make sure you've got all the details of payload
verification working as document at:

    https://github.com/hueniverse/hawk#payload-validation

IIRC your error message said something about "payload is invalid" so
perhaps its tripping up when calculating the payload hash.


   Ryan

_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to