Open Closed

Redirect to login not working for authorized pages Blazor WASM #10363


User avatar
0
roberto.fiocchi created

  • ABP Framework version: v8.3.2
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

Hello,

I have an issue in my project built with ABP 8.3.2 – Blazor WebAssembly.

When I try to access a page protected by authentication while not logged in, the redirect to the login page does not work correctly. The navigation seems to stop in the middle of the flow and the login page is not displayed.

Could you please take a look at the repository and help us understand why this behavior occurs? I am attaching the link to the GitHub repository. The repository is private, but maliming already has access.

GITHUB LINK: https://github.com/RobertoFiocchiMCSI/Cdi.Grc.AbpSupport

We remain available for any additional information. Thank you.


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

    hi

    Please make your repository PRIVATE and invite https://github.comn/maliming

    The navigation seems to stop in the middle of the flow and the login page is not displayed.

    Can you share some screenshots and steps to reproduce?

    Thanks

  • User Avatar
    0
    roberto.fiocchi created

    [maliming] said: hi

    Please make your repository PRIVATE and invite https://github.comn/maliming

    The navigation seems to stop in the middle of the flow and the login page is not displayed.

    Can you share some screenshots and steps to reproduce?

    Thanks

    The repository is already private and you have already been invited so it seems public to you :-)

    Steps:

    • Run the application
    • Go to https://localhost:44390/demo-components You will be redirected to https://localhost:44390/authentication/login , but the login is not displayed.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I can't restore the nuget packages.

    Response status code does not indicate success: 401 (Unauthorized). error NU1301: Unable to load the service index for source https://pkgs.dev.azure.com/xxxxuget/v3/index.json. Response status code does not indicate success: 401 (Unauthorized).

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Can you share a minimal project?

    Thanks.

  • User Avatar
    0
    roberto.fiocchi created

    [maliming] said: hi

    I can't restore the nuget packages.

    Response status code does not indicate success: 401 (Unauthorized). error NU1301: Unable to load the service index for source Response status code does not indicate success: 401 (Unauthorized).

    I updated the personal access token in NuGet.config. Can you pull it and try again?

    Thanks

    P.s. Please remove the feed link from the previous post.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Still 401 error

  • User Avatar
    0
    roberto.fiocchi created

    I have updated the Directory.Build.props and NuGet.Config files in the main branch.

    Please use exactly what is currently in main, without modifying the configurations.

    I also tested the setup on a new PC, and the restore works correctly.

    Thank you

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Thanks. I will check it.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 30, 2026, 08:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.