Open
Description
REGRESSION INFO: Also repro on Aspire 8.0.1
INSTALL STEPS
- Clean machine: MacOS
- Install SDK 8.0.302
- 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
-
Set the "ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true" in the launchSettings.json of the aspire.AppHost project
-
Dotnet run the project in CMD, and open URL with token:
dotnet run
-
Go back to the Command Prompt and enter "Ctrl + C" to shut down the application
-
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.
Workaround
- Open Safari Settings > Click "Manage Website Data" in privacy page > Click "Remove All" to clear the localhost cookie history
- Run the aspire project with http and open URL with token, it will not pop-up token page and works well
NOTE:
- This issue only repro on Safari browser [Version 17.5 (19618.2.12.11.6)], this issue not repro on Edge browser.
- This issue also repro when debug the project in VS Code after
dotnet run
the project. - Run aspire project with https in CLI and open URL with token, it works well.
- There is a similar closed known issue: #3942
EXPECTED
Open URL with token not pop-up token page and works well