eShop
eShop copied to clipboard
[WebToolsE2E][Aspire] Registering a new webhook in eshop dashboard failed: "Error 400 (Bad Request) when calling the Webhooks API (POST http://webhooks-api/api/v1/webhooks) with GrantUrl."
INSTALL STEPS
- Clean machine: Win11 x64 23h2 ENU
- Install VS 17.9 P1 from build [34303.117.d17.9]
- Install latest 8.0 SDK: 8.0.100
- Apply NuGet Feeds
- Install Docker Desktop
REPRO STEPS
- In the VS, clone the eShop repository and open eShop.Web.slnf
- F5 / Ctrl-F5
- Click Endpoint for 'webhooksclient'
- Navigate to webhook registration page and click 'send'
ACTUAL
Error 400 (Bad Request) when calling the Webhooks API (POST http://webhooks-api/api/v1/webhooks) with GrantUrl: http://localhost:5228/check)
Data sent to the webhooks API was {"Url":"http://localhost:5228/webhook-received","Token":"6168DB8D-DC58-4094-AF24-483278923590","Event":"OrderPaid","GrantUrl":"http://localhost:5228/check"}
EXPECTED
Registering a new webhook in eshop dashboard successfully.
eshop bug