Skip to content

Mailgun - HTTP webhook signing key instead of API key #119

Description

@StefanBayarri

Hello!

We had some issues today with the 'verifySignature' function in the 'MailgunRequest' class. We tried to use an account wide API key and a domain specific API key on Mailgun. We couldn't verify the signature with those keys. You must use the 'HTTP webhook signing key' from Mailgun to let the 'verifySignature' function succeed.

The Laravel Mailbox -> Drivers -> Available drivers -> Mailgun documentation says the following
To use Laravel Mailbox with your Mailgun account, you first need to set the MAILBOX_MAILGUN_KEY environment variable to your Mailgun API key.

But it should be
To use Laravel Mailbox with your Mailgun account, you first need to set the MAILBOX_MAILGUN_KEY environment variable to your HTTP webhook signing key.

The HTTP webhook signing key can be found here when logged in on Mailgun: Click on your name (upper right corner) -> API Security.

Just an heads up for someone that faces this problem as well.
And perhaps the documentation could be updated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions