Hi
I’m working on Windows platform and in the flow there is HTTP get request for authentication.
If I do enter the correct credentials, I have no error and everything is cool. I can use application with no interruptions.
However, when I enter incorrect credentials, I expect from the server to notice me 401 error (I know the server’s behavior). Instead, I get CORS error and 401 exception as well:
SEC7120: Origin http://localhost:8100 not found in Access-Control-Allow-Origin header.
HTTP401: DENIED - The requested resource requires user authentication. (XHR)GET …
HTTP calls are regular calls of angular2.
Any idea?