Can you please advise what is the best way to use AngularJS Token Authentication with Abp Web API layer? I am using ABP in the SPA application with AngularJS and thinking about using Owin middleware and ASP.NET Identity for authentication and authorization. It has a token service, which can be used in the client side (angular) in place of authentication cookie. However it requires setting up an Owin authentication for the Wep Api layer, which I think will force me to implement my Web Api controller "by hand" rather than using DynamicAPIProxy? The solution I am looking into is described here: http://bitoftech.net/2014/06/09/angular ... -identity/
Is there any other way I can implement authentication/authorization in my SPA in angularJS by using Module Zero services? Is there a feature that can provide my client with an authentication token or cookie that can be exchanged/validated between client and server in a request header?
Kind Regards, TS.
Hi, I'm working on similar solution right now. I followed this tutorial: http://bitoftech.net/2014/12/15/secure- ... ntication/, maybe will help you. I don't have this fully implemented yet, but it looks much simpler than Bearer token authentication.
I don't have idea on AngularJs token auth. But, I use IdentityFramework with AngularJs. New 'ABP + module zerı' template can help you starting: http://www.aspnetboilerplate.com/Templates