Owin Bearer Token With Windows Authentication
<p>Guys!</p>

<p>I'm looking for a solution for this problem for a couple weeks.</p>

<p>I have to develop a ASP.Net WebAPI solution that uses the Windows Authentication mode and generates a bearer token through Identity/Owin middleware.</p>

<p>The idea of this solution is to communicate with an AngularJS application and authenticate like the most WebAPI does with Identity.</p>

<p>When I try to make an example of the FormBased Authentication, but with the Windows Authentication mode, the WebAPI can recognize the credentials in the controllers, but not in the Bearer Token Generator.</p>

<p>Do anyone had this issue before or know how to fix this?</p>

<p>Thanks everyone.</p>