title: Web API - OWIN TokenEndPointPath not found 404 on IIS
body: <p>I just tested a working Web.Api named "WebApiServizio1" protected with a OAuth2 BearerAuthentication (Owin implementation) and it's been deployed on the root of my IIS WebServer. </p>
  
  <p>I would like to change the current webserver configuration moving the "WebApiServizio1" web.Api inside a new website WEBAPI. So I can host more then one api (with the same host and port).</p>
  
  <p><strong>IIS:</strong> WEBAPI webSite Port:80 (AppPool: Integrated, 4.0)</p>
  
  <p><a href="https://i.stack.imgur.com/Dydhj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dydhj.jpg" alt="Expected IIS Configuration"></a></p>
  
  <p><strong>PROBLEM</strong>
  But when I try to autenticate with the OWIN Middleware I can't obtain the Token, I get a "404 - not found" response trying to reach the TokenEndpointPath.</p>
  
  <p><strong>Recap:</strong> </p>
  
  <p><a href="http://localhost/WebApiServizio1/" rel="nofollow noreferrer">http://localhost/WebApiServizio1/</a> HTTP 403.14 - Forbidden CORRECT!
  <a href="http://localhost/WebApiServizio1/oauth/token/" rel="nofollow noreferrer">http://localhost/WebApiServizio1/oauth/token/</a> HTTP 404.0 - Not Found - :(</p>
  
  <p><strong>This the current Owin.Startup configuration:</strong>
  <a href="https://i.stack.imgur.com/752Gd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/752Gd.jpg" alt="Startup configuration"></a></p>
  
  <p><strong>Client configuration:</strong>
  <a href="https://i.stack.imgur.com/er8Qo.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/er8Qo.jpg" alt="Client configuration"></a></p>
  
  <p>Any ideas?</p>