Open Closed

Blazor Server - Force Authentication For Root / Entire Site (updated) #5123


User avatar
0
adam-dot-cohen created
  • ABP Framework version: v7.2.1
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered, separate OpenIddict server

How do you force authentication for the root of a blazor server project? Presently, the following display the header and navigation side menu before redirecting to Account/Login...

Index.cshtml

OR

_Imports.razor


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    , the following display the header and navigation side menu before redirecting to Account/Login...

    If the current user is not authenticated the menu and header should be empty, right?

    If there is a problem how can I reproduce it?

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09