Improve Popup Behavior when consuming APIs secured with Azure AD within the SharePoint Framework
When using the AadHttpClient within a SPFx WebPart, a popup appears that is currently necessary to facilitate authenticate to Azure AD (part of ADAL JS). While this is understandable if the user needs to supply additional authentication components, if the user has the necessary rights to the Azure secured API, no popup should be presented.
Scenarios where this behavior is not acceptable:
- Pages with multiple third party data sources (user is bombarded with popups)
- High traffic landing pages (like corporate home pages) where look & feel are crucial
Documentation on behavior:
GitHub Issue relating to this: