Skip to content

[WebToolsE2E][Aspire] When running "dotnet watch", the URL without token is automatically opened and the token authentication pops up, instead of automatically opening the URL with token and logging in like vs. #3812

@v-sherryfan

Description

@v-sherryfan

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install SDK 8.0.204
  3. Install .NET Aspire 8.0.0-preview.6.24214.1
  4. Apply NuGet Feeds

REPRO STEPS

  1. Go to browser settings > delete localhost cookies
  2. Running with dotnet watch
    • Open CMD, create an aspire starter app using following code
      dotnet new aspirestarter -o aspire4
      cd aspire4\aspire4.AppHost
      dotnet watch      
      
    • Automatically open the URL without the token, and then dashboard token authenticaton popup
      image
      image

Note:

Unlike dotnet watch, we can decide to open the url without token or with token url when running with 'dotnet run'.
image

ACTUAL

The URL without token is automatically opened, so you need to manually enter the token value to log in.

EXPECTED

For the dotnet watch scenario, similar to VS, it will automatically open the URL with the token and log in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalIssues that represent work that's external to this repo.needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions