0

I had a MCV core app that uses cookie based authentication (stores user credentials in DB). Later I introduced a web api as the backend of this MVC application. Now both are hosted together as a Azure web app. For now my cookie authentication logic is still in the MVC application. So what is the simplest approach for me to secure the web api.

Chamodh
  • 61
  • 1
  • 3
  • 11

1 Answers1

1

I simply used the Authorize attribute in my API controllers and that resolved the issue.

Chamodh
  • 61
  • 1
  • 3
  • 11