Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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

Closed
v-sherryfan opened this issue Apr 18, 2024 · 1 comment
Labels
external Issues that represent work that's external to this repo. needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Comments

@v-sherryfan
Copy link

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Apr 18, 2024
@davidfowl davidfowl added bug external Issues that represent work that's external to this repo. and removed area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication labels Sep 15, 2024
@davidfowl davidfowl removed the bug label Oct 16, 2024
@davidfowl
Copy link
Member

dotnet watch is being re-designed to work with aspire. That work is happening in 9.0.200 SDK which is not shipping with .NET 9. This has been fixed in that branch.

You can see the work items for watch and aspire here https://github.com/dotnet/sdk/issues?q=is%3Aissue%20label%3AAspire%20

@davidfowl davidfowl closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2024
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external Issues that represent work that's external to this repo. needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

No branches or pull requests

3 participants