#son-webhook-signature

1 messages · Page 1 of 1 (latest)

obtuse cove
#

I'm not familiar with spring boot unfortunately. What's the actual error you're getting?

reef dirge
#

I'm getting the signature verification exception. Do you need the stack trace?

obtuse cove
#

Have you logged the signature that's being checked and the signature it's checking against?

reef dirge
#

The only difference is the network architecture. In staging. The request will go through nginx proxy and pass to BE api

reef dirge
obtuse cove
#

Hmm, that definitely complicates things. I'm not really sure what to advise if you can't actually check the value of the signature

#

Let me see if someone else internally has any ideas

reef dirge
#

Ah, so the secret key is from there which start with whsec_<something> ? I'm using the one in the dashboard which start with sk_test_<something>

obtuse cove
#

Correct. Have you checked to make sure it's the same one you're using in your test environment?

#

sk_test_ is your secret API key. This is different from the webhook secret

reef dirge
#

I'm using the secret_api_key. So just to confirm, in development when testing against cli, the secret key will be same for api and webhook?