有没有办法在 Blazor WebAssembly 客户端上使用 MSAL.NET 为单点登录提供域提示?

Is there a way to supply a domain hint for single sign-on using MSAL.NET on a Blazor WebAssembly Client?

在 Blazor WebAssembly 中使用 MSAL.NET 时,是否有任何方法可以提供域提示(或以其他方式避免需要“选择帐户”提示) 客户端端的应用程序?我以为它可能是传递给 builder.Services.AddMsalAuthentication 的设置或选项,但我没有看到它。

,但还不是客户端。由于无法设置此项,我在尝试进行身份验证时从 microsoftonline.com 收到多余的“选择帐户”提示。

我目前在 Program.cs 客户端上:

builder.Services.AddMsalAuthentication(options =>
{
    builder.Configuration.Bind("AzureAd", options.ProviderOptions.Authentication);
    options.ProviderOptions.DefaultAccessTokenScopes.Add(myScope);
    options.UserOptions.RoleClaim = "roles";
});

目前不支持使用 Blazor Web 程序集发送 domain_hint。我已经打开了一个 GitHub issue 来进一步跟踪。