Skip to content

Integrations & HMAC Authentication #1975

Discussion options

You must be logged in to vote

Ok I got there in the end. 2 things I was doing wrong:

  1. When you create an Integration you need to create a Matcher so that your Integration can be matched to the Task / Template you want to run. So in my case, I just made the body:
{"x-match-task":"task-name"}

and then setup the Matcher on my Integration to match.

  1. More importantly, I was assuming that, like the GitHub Webhook, your HMAC header variable needed to be prefixed with sha256= however this is not the case for a straight HMAC Integration. It requires no prefix and looks like this:
{"Authentication-Header":"hmac-siganture"}

where Authentication-Header is what you configured in the "Auth header" section of your Integration and …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@choicedraught
Comment options

@choicedraught
Comment options

@fiftin
Comment options

@choicedraught
Comment options

Answer selected by fiftin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants