Live coding 5th session – Authentication with ASP.NET Identity, OWIN, WebApi2 and AngularJS

In this session we extended the api to only accept authorized requests and implemented authentication logic from the client. We used ASP.NET Identity for user account management and OWIN middleware for token authentication. The application now supports multiple users and in the next session we’ll implement support for 3rd party login providers such as facebook. Enjoy the video!

Live demo @

Source code @


Until next time, have a nice day!


Keywords : VS2013, Azure, HTML5, JavaScript, AngularJS, jQuery Mobile, WebApi, EntityFramework, Authorization, Authentication, OWIN, Request Interceptor