I have an Angular 2 Web Application which talks to my own web server

I have created two components each of which makes an http request to the 
web server in the ngOnInit() function


The web server actually needs authentication and therefore sends back 
401-forbidden along with WWW-Authenticate: Digest header. This lets the 
browser to pop-up the authentication window and after entering username and 
password, everything works fine.


The problem that i see is with Windows 10 IE version 11 where the 
authentication pop-up comes up twice (valid username and password is 
entered both times) whereas it comes only once in Chrome and Microsoft 
edge.. And when i remove one of the http call from ngOnInit of one of the 
component then the pop-up comes up only once in IE. So this basically means 
the two http calls is actually triggering the two pop ups (only in IE) but 
the subsequent http calls are authorized good enough..


There isn't much apart from the http calls in the angular application ( i 
even removed all other code and verified it)

The problem doesn't happen with IE on windows 7. So its very specific to IE 
11 on Windows 10.

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to