dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.87k stars 462 forks source link

[WebToolsE2E][Aspire][Linux] After successfully publishing an Aspire project, cannot open the deployed "Aspire Dashboard" URL and display "Set up your device to get access" on Linux. #6556

Open Rita003 opened 2 weeks ago

Rita003 commented 2 weeks ago

INSTALL STEPS

  1. Clean machine: Linux OS
  2. Install SDK 9.0RC2
  3. Install Aspire 9.0 GA

    • Apply Aspire 9.0 GA feed
  4. Install latest released azd v1.10.3
  5. Install git v2.34.1

REPRO STEPS

  1. Open CMD, run following command to create an Aspire Starter App project and deploy it
    dotnet new aspire-starter -o AspireStarterApp
    cd AspireStarterApp/AspireStarterApp.AppHost
    azd init
    azd up
  2. After successful deployment, open the deployed "Aspire Dashboard" URL in browser, and login your account

Screenshot 2024-09-26 153313

Note:

  1. This issue only repro on Linux, it doesn't repro on Windows/Mac

ACTUAL After logging into your account, cannot open Aspire Dashboard and display "Set up your device to get access" Image

EXPECTED Image

davidfowl commented 2 weeks ago

This is by design, you need to login. The dashboard is protected by default (it has to be or that would be a big security problem).

Rita003 commented 2 weeks ago

This is by design, you need to login. The dashboard is protected by default (it has to be or that would be a big security problem).

@davidfowl I have logged into my account, but it failed and displayed "Set up your device to get access"

joperezr commented 1 week ago

We think this issue is due to the machine not being intuned and therefore you can't sign in to the portal. Did this use to work before at all from that same Linux machine?

Also, can you try to navigate to that same URL from a windows machine that you know can sign in with your account?