This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var authContext = new AuthenticationContext({ | |
// ... | |
}); | |
// Our custom asynchronous login function. Uses authContext.config.displayCall | |
// to show the Azure AD login page in a popup window, then periodically checks | |
// the popup window for the resulting hash + uses adal.js to handle it. | |
// For this to work, we need a dummy landing page to use as redirectUri. | |
// This can be an empty HTML page, but needs to have the same origin as the | |
// main window. |