I have a problem when performing a CORS request in my angular Application. This problem only happens with IE11.

When the browser performs the preflight (OPTIONS) request I get this:

enter image description here

As you can see, in the Acces-Control-Allow-Headers section we can find the 'Authorization' header.

However, I get this error in the console:

enter image description here Sorry it's in spanish, but it basically says that the 'Authorization' header it's not present in the list 'Acces-Control-Allow-Headers'. And then denies the access. Weird.

Anyone faced the same problem?

0 Answers