I have ASP.NET Core API that is being consumed by an Angular app. Now I have implemented ElmahCore error logging API that shows all errors of Backend API on the URL:
This URL is currently public so what are my options to secure it so that only logged in user could access it. Currently angular app has implementation of JWT token to access some secure api endpoints. But since its not API end point, but a web page provided by elmah on the API, I dont know how to secure it.
Authorize
in your code. Does this article useful to you ?