title: Authorization token not present in header
body: <p>So, I have a custom authentication token that I use to secure my web.api project. Now this is a bearer type token which I pass along with the header and I have managed to seamlessly consume it within my WebAPI project.</p>
  
  <p>The complexity is that I am not being able to use it with my MVC project. The <code>[Authorize]</code> tag on MVC uses a <code>System.Web.Mvc</code> library instead of <code>System.Web.Http</code>. To check what is happening to my header which contains the authorization token, I used a custom Token attribute. </p>
  
  <pre><code>public override void OnAuthorization(AuthorizationContext context)
  </code></pre>
  
  <p>In my above function, when I peek into the header using <code>context.HttpContext.Request.Headers</code>, I see that there is not Authorization token in the header. This is absurd as I use angular injectors to add the <code>Bearer</code> token and it is very much present in the client request being sent out.</p>
  
  <p>What am I not doing to receive this token?</p>
  
  <p><strong>[Update]</strong></p>
  
  <p>So after a bit of debugging I just noticed that the Authorize attribute is not appended to the redirect URL's. I suppose this is because the application doesn't have angular interceptors working for these calls. Any idea how to append Authorize Bearer token too all requests?</p>