abp icon indicating copy to clipboard operation
abp copied to clipboard

Customizing Login/Register Pages & APIs for Angular UI.

Open omaghd opened this issue 5 years ago • 2 comments

  • ABP Version: 4.3
  • UI: Angular
  • Database provider: EF Core
  • Identity Server: NOT separated

Kindly, I'm stuck in this issue for months, I don't know how to change the default Login/Register pages in Angular UI.

Is there away to customize the login/register APIs? So I can send my data from Angular to the services. And still can manage the oauth/token? Or just customizing the pages somewhere on backend?

In recap, that's what I want to produce:

  • [ ] Login using a unique Identifier (that I will generate) + Password
  • [ ] Register using a wizard form (stepper)

NOTE: I already added the extra properties I will need, in AppUser

An example of the register wizard form:

Sorry if my question is basic for you, I'm still learning this RICH framework!

omaghd avatar Aug 03 '21 14:08 omaghd

Hi @omaghd

Whether you use Angular or not, (by default) the login/register pages are normal MVC pages from your backend application.

If you did not change the default usage, you need to override the MVC razor pages to customize the login screens. Here is the detailed documentation about it: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-razor-page-cshtml

If you read and follow the documentation, you will able to override the pages. And it makes easier to achieve your second task also: "Register using a wizard form (stepper)"

ABP Framework provides full infrastructure, but you need to implement that kind of feature by yourself.

cotur avatar Aug 04 '21 09:08 cotur

Hi @omaghd

Whether you use Angular or not, (by default) the login/register pages are normal MVC pages from your backend application.

If you did not change the default usage, you need to override the MVC razor pages to customize the login screens. Here is the detailed documentation about it: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-razor-page-cshtml

If you read and follow the documentation, you will able to override the pages. And it makes easier to achieve your second task also: "Register using a wizard form (stepper)"

ABP Framework provides full infrastructure, but you need to implement that kind of feature by yourself.

Hi @cotur I appreciate your answer!

omaghd avatar Aug 07 '21 00:08 omaghd