title: IdentityServer 4, how to add Custom Login page
body: <p>I wish to customize the IdentityServer 4 and use custom pages for login / registration / lost password / etc... ( FYI, I use Blazor, but it should be the same ! ).</p>
  
  <p><strong><em>Example</em></strong>
  By example, for now, I use the following code:</p>
  
  <p><code>Challenge(authProps, "oidc");</code></p>
  
  <p>But it redirects to a pre-defined login page, how can I change this?</p>
  
  <p><strong><em>Information</em></strong>
  I have searched for some information, I have seen that some peoples use the following</p>
  
  <p><code>.UserInteraction.LoginUrl = "http://..../MyLoginPage";</code></p>
  
  <p>My problem is that I use abp.io, they provides an IdentityServer, but I have no access to the <strong><em>AddIdentityServer</em></strong> code, it is hardcoded somewhere and I have no access to it (AbpIdentityServerDomainModule.cs) !</p>
  
  <p>So, I'm looking for a way to redefine the login page !</p>