I am implementing a token authentication into a system that has legacy Windows Authentication. I have followed some token examples and have come up with the following. Here is my request header that I am issuing in Angular UI:
authorization:bearer - token value
Authorization:Negotiate some value
I am adding token to the request like this:
config.headers.authorization = "bearer " + access_token;
As you can see I end up with two a/A authorizations. The response from the server is:
HTTP Error 400. The request has an invalid header name
I am assuming it's because of these two entries. I have tried using capital A for my token entry but the response was the same.
Any idea, please?
Edit 1
    GET /api/case HTTP/1.1
    Authorization   bearer value
    Accept  application/json, text/plain, */*
    Referer http://localhost/main.aspx
    Accept-Language en-US
    Accept-Encoding gzip, deflate
   User-Agent   Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0)  like Gecko
   Cookie   ASP.NET_SessionId=value
   Host localhost
   Authorization    Negotiate value
