AngularJS Token Authentication using ASP.NET Web API 2, Owin, and Identity | JavaScript for Line of Business Applications | Scoop.it

This is the second part of AngularJS Token Authentication using  ASP.NET Web API 2 and Owin middleware.

In this post we’ll build sample SPA using AngularJS, this application will allow the users to do the following:

  • Register in our system by providing username and password.
  • Secure certain views from viewing by authenticated users (Anonymous users).
  • Allow registered users to log-in and keep them logged in for 24 hours or until they log-out from the system, this should be done using tokens.