打开 关闭

Question/Issue with unauthenticated user always starting with login page #3086


User avatar
0
balessi75 创建

Abp Commercial 5.2.0 / Blazor Server / EF / non-tiered

What is the best approach in Abp Blazor Server to have the login page as the default landing page when the application starts? Currently, I am brute forcing it with @attribute [Microsoft.AspNetCore.Authorization.Authorize] in the index.razor page but this still loads the main form and then redirects which causes the user to see the main form and its side menu for a second.

Thanks in advance.


1 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    https://support.abp.io/QA/Questions/1335/How-to-set-the-project-to-jump-directly-to-the-login-page

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11