Kong Api网关-HMAC签名不匹配

时间:2019-09-11 11:56:15

标签: hmac kong

I am trying to implement HMAC Authentication with Kong, 
I am getting error “HMAC Signature does not match” .
I am making HTTP request using Postman Rest Client. 
Can some one verify my request parameter below.
Credential of Consumer:
Username: "test"
Secret: "test123#"

Http Request Detail:

Date:Thu, 05 Sep 2019 09:56:28 GMT
host:172.17.0.3
Authorization: hmac username="test",algorithm="hmac-sha1",headers="date",signature="YTg5NmQwMjhmMzVmYWNhZmQyZTQwNmY5ZTVkMmUzNDM4NDAxNmY3MA=="

Http Response:

Http Code:401
Response Body:
{
message:"HMAC Signature does not match"
}

0 个答案:

没有答案