eShop icon indicating copy to clipboard operation
eShop copied to clipboard

[WebToolsE2E][Aspire] Clicking the "webhooksclient" endpoint and then logging in to order management failed: "invalid_request".

Open v-sherryfan opened this issue 9 months ago • 1 comments

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.9 P1 from build [34310.174.d17.9]
  3. Install latest 8.0 SDK: 8.0.100
  4. Apply NuGet Feeds
  5. Install Docker Desktop

REPRO STEPS

  1. In the VS, clone the eShop repository and open eShop.Web.slnf
  2. F5 / Ctrl-F5, maybe you will encounter this issue #66
  3. Click Endpoint for 'webhooksclient'
  4. Click 'Log in' button

ACTUAL Sorry, there was an error: invalid_request Invalid redirect_uri Animation

EXPECTED

Login successful.

v-sherryfan avatar Nov 14 '23 08:11 v-sherryfan

Program.cs,
.WithEnvironmentForServiceBinding("WebhooksWebClient", webhooksClient,) Add bindingName: "https" .WithEnvironmentForServiceBinding("WebhooksWebClient", webhooksClient, bindingName: "https")

zhanming618 avatar Nov 27 '23 02:11 zhanming618