Suppose I have a ASP.NET 2.2 MVC app and I have an angular app hosted in wwwroot/ngapp folder. I'd like to restrict access to this folder so whenever user tries to use angular app (or basically any file) he should be presented with login form. Now, upon successful login the angular app should have this user authenticated and authorized (or not). So I need some kind of shared authentication and authorization implementation here.
I've read Brock Allen's posts regarding latest auth methods and problems. And I wonder how my scenario could be devised for both - ASP.NET Core 2.2 and Angular.
Is there anything to available now? What to read on that topic?