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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00