Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trello Webhook Signature Verification on Lambda with NodeJS Edited

I'm working on verifying the webhook signature from Trello. It always returns false.

Trello identifies that the following code will work:

var crypto = require("crypto");

function verifyTrelloWebhookRequest(request, secret, callbackURL) {
var base64Digest = function (s) {
return crypto.createHmac("sha1", secret).update(s).digest("base64");
var content = JSON.stringify(request.body) + callbackURL;
var doubleHash = base64Digest(content);
var headerHash = request.headers["x-trello-webhook"];
return doubleHash == headerHash;

In the AWS API Gateway, I have proxy lambda turned on. When I pass the event (request in below code), secret, and callback URL protigwelders the two values are always different.

I believe that the value that should be passed as the key is the OAUTH 1.0 secret, but this is an internal application. I've tried every secret that I'm aware of.

Unfortunately, I've run out of testing options at this point. Anyone have any ideas.

Much appreciated

1 answer

0 votes
Iain Dooley Community Leader Feb 22, 2021

@Celina Fregoso you'll probably have more luck on the developer community:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Introducing: A Whole New Trello

After a decade of growing the most ubiquitous visual framework for productivity and project management, we are evolving Trello’s boards, lists, and cards model to bring context to content and help te...

623 views 24 22
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you