I am playing with Blazor and created a web app that is server hosted. I have to put an authorize line on top of the page like this @attribute [Authorize] to ensure the user is logged in.
It seems like I have to add this line to each page individually. Is there a global setting that protects ALL the pages in the app, except for the login page of course.
Thanks!