AzureAD / microsoft-authentication-library-for-objc

Microsoft Authentication Library (MSAL) for iOS and macOS
http://aka.ms/aadv2
MIT License
260 stars 142 forks source link

Unable to detect B2C errors #2235

Closed nysander closed 2 months ago

nysander commented 3 months ago

During last B2C issues in EU West region we were not able to detect that something is wrong when loading B2C policies. Users were presented HTML page with errors instead of returning proper error code so the app can act on this error and present user some explanation what's happening

We are using standard WKWebView and SFAuthenticationSession. For the latter one at some combination of errors session cancelled itself and session modal was closing but it was not reliable.