Skip to content

ERROR: The signature is invalid. #219

Answered by PaulUniHomes
Richard2012 asked this question in Q&A
Discussion options

You must be logged in to vote

That would depend on the name of the header that is being sent across in the request to your endpoint.

If you look in the example, you'll see it is set as 'Signature':

$webhookConfig = new \Spatie\WebhookClient\WebhookConfig([
    'name' => 'webhook-sending-app-1',
    'signing_secret' => 'secret-for-webhook-sending-app-1',
    'signature_header_name' => 'Signature', // This is where it is set
    'signature_validator' => \Spatie\WebhookClient\SignatureValidator\DefaultSignatureValidator::class,
    'webhook_profile' => \Spatie\WebhookClient\WebhookProfile\ProcessEverythingWebhookProfile::class,
    'webhook_response' => \Spatie\WebhookClient\WebhookResponse\DefaultRespondsTo::class,
    …

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Richard2012
Comment options

@PaulUniHomes
Comment options

@Richard2012
Comment options

@PaulUniHomes
Comment options

@Richard2012
Comment options

Answer selected by Richard2012
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