AzureAD / azure-activedirectory-library-for-objc

The ADAL SDK for Objective C gives you the ability to add support for Work Accounts to your iOS and macOS applications with just a few lines of additional code. This SDK gives your application the full functionality of Microsoft Azure AD, including industry standard protocol support for OAuth2, Web API integration with user level consent, and two factor authentication support.
MIT License
178 stars 113 forks source link

Fixed NTLM crash when app has no keywindow #1531

Closed oldalton closed 4 years ago

oldalton commented 4 years ago

Proposed changes

Office has reported an occasional crash when NTLM is triggered. Looks like it's caused by the situation when app has no key window, which causes WebKit to crash since no prompt is shown. The fix aligns it with Client TLS handler which uses window from the webview instead and seems to be working.

Type of change

Risk

Additional information