We are developing an API and a one-page application (this is one of the possible future consumers).
We've already started working with the web API and basically implemented a system very similar to the one that John Papa did in his multi-spectrum course called Building Single Pages Apps (SPA) with HTML5, ASP.NET web API, knockout and jquery. "
Now we need to implement authentication and user management in this application, and you need to find a simple way to implement this in a minimum of time, as we are in a hurry.
We realized that the SPA template included in the ASP.NET update has very similar functions to our needs, but we are wondering what is the best approach to implement a similar function in our existing code.
We are novice developers, as you can understand.
Is it possible to install some packages using the package manager, and voila, simple membership and the auth AAuth option will be available?
Our use case is that we need to protect some of the resources of our API based on roles, so that you can log in using your username and password, and log in using your facebook, google or twitter accounts.
source share