dotnet / eShop

A reference .NET application implementing an eCommerce site
MIT License
6.04k stars 1.76k forks source link

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

Open v-sherryfan opened 11 months ago

v-sherryfan commented 11 months ago

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.

zhanming618 commented 10 months ago

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