Open Closed

B2C on Angular #6744


User avatar
0
bobbuilder@agilebridge.co.za created
  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Good day,

I am trying to implement Azure B2C login to our project, I saw the external login provides login with normal Azure Entra ID but I want to use B2C specifically to maintain users that sign up to be created in Azure and in the ABP database. Found examples on implementing the Entra ID login and tried to use that to use the B2C but it doesn't seem to work well when trying to go the B2C route.

Is there any documentation or information you have on what we can do to implement the B2C login/sign up option with the B2C user flows in ABP specifically on an Angular front end site?


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We don't have documentation on this, you can refer to how to implement the above requirements in aspnet core, then abp will support it.

  • User Avatar
    0
    bobbuilder@agilebridge.co.za created

    Thank you will look into the B2C implementation on aspnet core.

    But I noticed that the login/ register screens are mvc pages being used is there a way to inject angular pages instead of the mvc login/register pages or alter the mvc ones being used and alter them if I am using an Angular front end?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    MVC Page: https://docs.abp.io/en/abp/latest/UI/Angular/Authorization#authorization-code-flow

    Angular Page: https://docs.abp.io/en/abp/latest/UI/Angular/Authorization#resource-owner-password-flow

  • User Avatar
    0
    bobbuilder@agilebridge.co.za created

    hi

    MVC Page: https://docs.abp.io/en/abp/latest/UI/Angular/Authorization#authorization-code-flow

    Angular Page: https://docs.abp.io/en/abp/latest/UI/Angular/Authorization#resource-owner-password-flow

    Thanks for this, will this allow me to not use the default Account/Login Account/Register pages with pages I create on Angular?!

    So basically to reiterate, what I want to do is either use Angular pages or the B2C login/register that is provided by Microsoft B2C user flows to handle the login and register and not these pages that gets provided by default because I can't alter them due to them being MVC pages and not angular pages in my angular front end project.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can override the mvc and angular page.

    https://support.abp.io/QA/Questions/160/How-to-customize-an-ABP-project

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11