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 and deploy the code to HL2 with the updated Edge. It simply won't open the WebBroker/Edge window.
Thank you for your answers and advice in advance.
Setup:
Unity Version: 2019.4.28 - 2020.3.16
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
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