Open Closed

No login page on new blazor server project #9804


User avatar
0
itlpierre created

After using the new 9.3.0 ABP Studio to create a new project, clicking the login page leads to the page on the login route but it does not have the login form.

  • Exception message and full stack trace: No Exception messages

  • Steps to reproduce the issue: Create a new blazor server project.


5 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • In a Blazor Server ABP application, the login page is actually provided by the MVC UI, not by Blazor directly. When you navigate to /Account/Login, you should see the login form rendered by the MVC module.
    • If you see only the background (as in your screenshot) and not the login form, it usually means the MVC UI is not running or not properly referenced. In the default solution, you must run both the Blazor and the HttpApi.Host projects at the same time. The HttpApi.Host project serves the authentication endpoints and the login UI.

    Solution Steps:

    1. Make sure you have started both the AbpSolution4.HttpApi.Host and AbpSolution4.Blazor projects.
    2. The Blazor UI will redirect to the /Account/Login page served by the HttpApi.Host project. If only the Blazor project is running, the login form will not appear.
    3. If you are running both and still see this issue, ensure that the HttpApi.Host project is not blocked by firewalls and is accessible at the expected port.
    4. Check that the appsettings.json in the Blazor project points to the correct URL for the HttpApi.Host project under the AuthServer:Authority and RemoteServices:Default:BaseUrl settings.

    References:


    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share your project?

    liming.ma@volosoft.com

    Thanks.

  • User Avatar
    0
    itlpierre created

    [maliming] said: liming.ma@volosoft.com

    Hi Li Ming,

    I've invited your email to the repository on github.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Adding a new language will resolve the issue.

    options.Languages.Add(new LanguageInfo("en", "en", "English")); 
    options.Languages.Add(new LanguageInfo("en-gb", "en-gb", "English(UK)")); 
    

    I will fix it in the next patch version.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    LeptonX 4.3.2 will fix it.

    Your question ticket has been refunded.

    Thanks.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 15, 2025, 12:19