title: Mvc login with Web API
body: <p>In my solution folder there are two projects</p>
  
  <ul>
  <li>Myproject.API </li>
  <li>Myproject.Web</li>
  </ul>
  
  <p>API will server all the request to My Mvc web or android or IOS client.</p>
  
  <p>Now Here I'm confused, Where should I Implement Authentication process.</p>
  
  <ul>
  <li>At API or </li>
  <li>At API and MVC both</li>
  </ul>
  
  <p>As MVC identity uses Cookie based authentication where as API used token based. </p>
  
  <p>Now What I want In Web Project, If any user try to open a page which is only for <code>Authorize</code> user, and if he is not logged in then he should be redirect to Login page, And It is possible when I'll MVC Identity. </p>
  
  <p>If I'll Implement At API then How I'll manage cookies at Web Project.</p>
  
  <p>and How I'll Send that token in every request from WEB to API</p>