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

[release/8.2] Fix dashboard auth when unsecured #5532

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 4, 2024

Backport of #5499 to release/8.2

/cc @JamesNK

Changes to auth caused the dashboard's unsecured mode to fail. Users are presented with a message that authorization failed. The dashboard isn't usage.

Customer Impact

This will impact people using the standalone dashboard most. They're most likely to configure the dashboard to run in unsecured mode. The dashboard becomes unusable.

The workaround is switching to using browser token (the next easiest to use a local machine). However, the workaround isn't discoverable. There is no indication that it is the solution to the problem.

People using Aspire via the IDE use browser token auth by default. Because it just works, there isn't a reason to go unsecured. They're unimpacted unless they've added explicit configuration.

Testing

  • Automated
  • Manual, add "DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS": "true" to launchSettings.json. Confirmed the UI is visible:
    image

Risk

Low. There shouldn't be any change in behavior when other auth modes (browser token and OpenID connect) are configured.

Regression?

Yes. Unsecured mode worked in 8.1.

Microsoft Reviewers: Open in CodeFlow

@joperezr
Copy link
Member

joperezr commented Sep 4, 2024

High impact regression being hit by a lot of customers. Low Risk, validated changes and introduced tests to catch regressions. Approved. Thanks @JamesNK

@joperezr joperezr added the Servicing-approved Approved for servicing release label Sep 4, 2024
@joperezr joperezr merged commit 234ce65 into release/8.2 Sep 4, 2024
10 checks passed
@joperezr joperezr deleted the backport/pr-5499-to-release/8.2 branch September 4, 2024 19:57
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-dashboard Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants