Improve interactive authentication experiences for .NET users #46421
Labels
Area-NetSDK
cli-ux
Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)
Epic
Groups multiple user stories. Can be grouped under a theme.
untriaged
Request triage from a team member
Milestone
We want to help users avoid a pit of failure for builds that require authentication to access NuGet feeds and other resources that require authentication. Many tools use authentication in two ways - interactive and non-interactive flows. The
dotnet
CLI today uses a non-interactive flow by default, which means that many user experiences follow this patterndotnet build
dotnet build --interactive
We should be able to remove steps 2, 3, and 4 from that workflow by making
--interactive
the default for user experiences in .NET, as long as there is a user in control. As always, a user should be able to specify--interactive false
or--no-interactive
to override our defaults.We should also work with standalone MSBuild to determine when
/interactive
should be the default for non-.NET-SDK users.In addition, authentication workflows today require users to click links in their terminals, but more integrated experiences can open browsers and even silently authenticate if NuGet allows them to spawn dialogs, so we should enable that behavior as well in the core NuGet Credential Provider workflows.
The text was updated successfully, but these errors were encountered: