Ends in:
3 DAYS
5 HRS
21 MIN
21 SEC
Ends in:
3 D
5 H
21 M
21 S
Open Closed

Login Page Angular #5439


User avatar
0
marketbus created

I would like to replace the login and register page in MVC using Angular. I was just wondering if there is any guidance or documents in regards to this.

I did see this page, but it recommends using the resource owner password flow, which I would prefer not to. https://docs.abp.io/en/abp/latest/UI/Angular/Account-Module

And as mentioned, I would like to override these pages with my own designs.

Thank you


3 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hello,

    When you use code flow it'll go to server for auth process and on the server side Account Module manages this process. You can customize account module with download source code. Please check for customization ABP Suite is the another option for download source code

    Also check

    https://docs.abp.io/en/commercial/latest/themes/lepton-x/mvc#account-layout

  • User Avatar
    0
    marketbus created

    So are you saying don't use Angular for this? and just override what's in Themes/LeptonX/Layouts/Account in the MVC project?

    Or are you saying that I would have to use the resource owner password flow if I want to do it in Angular?

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    It depends on your auth strategy, if you want to use authorization code flow then just override MVC account module there is no any relation with angular for UI, but if you want to use password code flow then update environment file responseType=code to password and use AccountLayoutModule

Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35