fix: use plain password in configuration for MailJet webhook url

This commit is contained in:
Björn Fromme
2026-04-30 11:44:17 +02:00
parent c0c8ad515c
commit 68900dd4ea
8 changed files with 63 additions and 14 deletions
+2
View File
@@ -1169,6 +1169,8 @@ php bin/console app:mailjet:newsletter-webhook deactivate
Creates or deletes the Mailjet `unsub` callback for `POST /webhooks/mailjet/newsletter`.
- Uses `APP_BASE_URL` by default and appends the webhook path.
- The command prepends `mailjet:<password>@` to the URL before registering it with Mailjet.
- Configure the plain password in `MAILJET_WEBHOOK_BASIC_PASSWORD`; Symfony uses it for the webhook firewall.
- Pass `--url` to target a different full webhook URL.
- `register` prints the API response payload so you can note the callback ID.
- `remove` and `deactivate` require the callback ID returned by Mailjet.