Skip to content

[WebToolsE2E][Aspire][Mac] There is no response and can't go to aspire dashboard page when running the Aspire app with "http" and open URL with token in the Safari browser. #4413

Open
@Rita003

Description

@Rita003

REGRESSION INFO: Also repro on Aspire 8.0.1

INSTALL STEPS

  1. Clean machine: MacOS
  2. Install SDK 8.0.302
  3. Install Aspire 8.1 Preview 1

REPRO STEPS
1.Open CMD, create an Aspire App using following commands:

dotnet new aspire -o aspire
cd aspire/aspire.AppHost
  1. Set the "ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true" in the launchSettings.json of the aspire.AppHost project

  2. Dotnet run the project in CMD, and open URL with token:
    dotnet run

  3. Go back to the Command Prompt and enter "Ctrl + C" to shut down the application

  4. Run the project with http in CMD, and open URL with token:
    dotnet run -lp http

ACTUAL:
There is no response and can't go to aspire dashboard page, if copy the URL token to browser, it still cannot log in.
image (22)

Workaround

  1. Open Safari Settings > Click "Manage Website Data" in privacy page > Click "Remove All" to clear the localhost cookie history
  2. Run the aspire project with http and open URL with token, it will not pop-up token page and works well

NOTE:

  1. This issue only repro on Safari browser [Version 17.5 (19618.2.12.11.6)], this issue not repro on Edge browser.
  2. This issue also repro when debug the project in VS Code after dotnet run the project.
  3. Run aspire project with https in CLI and open URL with token, it works well.
  4. There is a similar closed known issue: #3942

EXPECTED
Open URL with token not pop-up token page and works well
image (23)

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions