We have an Angular site with .net5 backend that requires authorization with following code in startup:
services.AddControllersWithViews(options => { option