Closed yipcma closed 7 years ago
Would love to follow up on line basic integration @simalexan
@yipcma can you send PR for this?
@stojanovic I don't have any clue, been reading line docs but it's not helping.
I'm going to need to do some Line integration in the coming week/s, will update this ticket in case I find any issues.
this could be the issue with the encoding:
Signature validation
The signature in the X-Line-Signature request header must be verified to confirm that the request was sent from the LINE Platform.
Authentication is performed as follows.
With the Channel secret as the secret key, your application retrieves the digest value in the request body created using the HMAC-SHA256 algorithm. The server confirms that the signature in the request header matches the digest value which is Base64 encoded.
@yipcma I wrote to their support. It's not a signature issue, because signature is just a validation that message is received from Line, we don't need to send anything for that.
Finally! It was a content length header! Commit: https://github.com/claudiajs/claudia-bot-builder/commit/459625990d1f19b9e87f621275f7771fdcbca927