Open Closed

Having commercial version of ABP 4.2 and 8 want to Customize login page for both the version. So respect to client layout will be changed of Identity server #9404


User avatar
0
nayan.ranjane@softtech-engr.com created

Please provide me solution to customize the login page of the Identity server 4.2 also of 8. I have different clients so want to share build and login page layout will be customized by them

  • Exception message and full stack trace:
  • Steps to reproduce the issue: Take Identity server 4.2 with abp customize login page

1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    • Which themes they're using currently?

    • Do you need to customize the Login Page? or Account Layout?

    I wrote an article for this recently: https://dev.to/enisn/you-do-it-wrong-customizing-abp-login-page-correctly-l2k

    Here is the main takeaway from the article:

    • What exactly do I want to change? Is it the overall look and feel (branding, colors, background) or the structure of the login form itself?
    • Can this be achieved with CSS? Often, targeted CSS rules leveraging theme-specific layout classes are sufficient and the least intrusive method. This should be your first consideration for visual tweaks.
    • Do I need to alter the content around the login form? If yes, overriding the Account Layout (e.g., Themes/Basic/Layouts/Account.cshtml or its LeptonX equivalent) is the correct approach. This gives you control over headers, footers, and surrounding content without touching the core login mechanism.
    • Do I need to change the login form fields or its core submission logic? Only then should you consider overriding the Login Page component itself (e.g., Pages/Account/Login.cshtml) from the Account Module.

    If you need to customize Login page, yes you could do for both applications in the same way. But if you need to customize Account layout, it won't be that easy, you'll need to override each theme manually. If you provide me more information about your both application's themes, I can share some sample code to customize 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 v9.3.0-preview. Updated on June 13, 2025, 11:37