I have an MVC project with no authentication. The project uses webapi as a backend to retreive and send information through the controllers.
Now we need to add authentication to the webapi project as well as introcing a secondary MVC project.
Both MVC projects needs to rely on webapi for information exchange.
I am going to add Identity support to my webapi project but how can I authenticate my controllers that way?
So what I am asking is; is it possible to secure webapi and consume it in MVC project in a way that user are able to register and login within the mvc projects. If so, how and/or any resources?