I am using the ASP.NET Core 2 Angular 4 template in Visual Studio 2017. I have followed examples of how to get an Angular SPA to authenticate a user with Azure Active Directory using the adal_angular4 package. When the code is in the AuthenticationContext (adal_angular4) function, a window.Logging statement is encountered. This results in a window not defined error. It appears the window object is not available.
Is there a workaround or another package that I can use to make this work.