C# WebAuthenticationBroker stopped working with the new Edge update on HL2
Hello everyone,
with the new update to Edge on HoloLens2 making it chromium-based the WebAuthenticationBroker ([https://docs.microsoft.com/en-us/windows/uwp/security/web-authentication-broker]) stopped working in Unity (Hololens2 Build). For simplicity purposes we can look at the following snippet of code:
String GoogleURL = "url";
Uri StartUri = new Uri(GoogleURL);
WebAuthenticationResult WebAuthenticationResult = await
WebAuthenticationBroker.AuthenticateAsync(WebAuthenticationOptions.UseHttpPost, StartUri);
It works if we build a UWP application but not when we use it in Unity. It simply won't open the WebBroker/Edge window. We have already reached out to Microsoft with no luck of a reply so we are relying on help here.
Thank you for your answers and advice in advance.
Setup:
Unity Version: 2019.4.28
Mixed Reality Toolkit Version: 2.6.0 or 2.7.0
Visual Studio Version: 16.10.2
Windows SDK Version: 10.0.19041.0
HoloLens2 OS Version: 10.0.20348.1010
Your answer
![](https://koobas.hobune.stream/wayback/20220613041751im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
C# WebAuthenticationBroker stopped working with the new Edge update on HL2 0 Answers
Отправляемый файл приходит на сервер поврежденный (Uploaded file is damaged) 0 Answers
user can't log into google play services 1 Answer
Why does UnityWebRequest not work for me? 0 Answers
Not possible to cache assetbundles behind server authentication? 0 Answers