I trying to build an application which uses the webapi 2 and angular js 1 at the front end. I have been researching the security aspects especially token based security.
I could find a lot of things and it's really confusing what to implement like: OAuth, IdentityServer, HMAC and also Auth0.
I checked on HMAC and consumed the webapi through the console application. However, I have not been able to find the project where webapi is consumed by JS based frameworks in the front end (like angular). There are typically console applications with lots of codes. I wonder how am I suppose to do this using Angular js?
I checked on the IdentityServer and found its learning curve bit frustrating for a newbie like me. I have the existing db with the existing users and roles tables. Instead of using default tables provided by Identity, I would like to use my own and write my own authentication logic. But I am not being able to find the resources for these too.
Now I could see an Auth0. Now before diving in I would like to make sure if it is the advisable authentication and authorization framework for webapi.
As I have been asked to implement Token based authentication in the project. I am having hard times figuring out the right approach and the easiest way to do. I have wasted a week and still confused what shall I implement. So, If you have any resources where the webapi security has been performed in an elegant way, please help me out.