Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASP.NET Core 2 Angular 4 adal_angular issue - window not defined

$
0
0

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.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>