当 ADFS WIASupportedUserAgents 属性 包含 "Mozilla/5.0" 时,具有 ADAL 身份验证的 UWP 应用程序失败

UWP app with ADAL auth fails when ADFS WIASupportedUserAgents property includes "Mozilla/5.0"

我们有一个使用 ADAL 进行身份验证的 UWP Xamarin 应用程序。

ADFS WIASupportedUserAgents 属性 已配置为包括 "Mozilla/5.0"

当 PC 位于外部网络时,身份验证按预期工作。

当 PC 加入域后,浏览器 window 永远不会进入 ADFS 登录页面。

我还在 Package.appxmanifest

中设置了以下功能

请参考https://github.com/Azure-Samples/active-directory-dotnet-windows-store中描述的应用程序配置步骤。特别是,请确保您按照“”部分中的指导配置了重定向 URI 找到 TodoListClient 应用的重定向 URI。