Open Closed

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


User avatar
0
balessi75 created

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 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team 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 March 25, 2024, 15:11