skip to Main Content

I there a way to make a completely bespoke login page for Azure B2C users?

AWS Cognito offers an SDK for developers to write completely bespoke login frontend sites. I’m looking for a way to do the same as this in Azure. I want to have control over the whole UI not just the HTML template for the login page. This means that I either need to have a JS library which has a login(username, password) type method, or some kind of API I can call directly to do this.

I would expect to find these kind of methods in the msal-browser library but it doesn’t look like they are there. Is there a way I can call login from my own bespoke page or is it solely through the azure curated UI? I am only interested in local azure accounts not social or federated login.

What I’m not looking for:

2

Answers


  1. If I got it right, azure B2C custom policies is what you are looking for. Keep in mind that it’s advised to use it only for complex scenarios as the learning curve of it is somewhat high and its development can easily become hard to maintain.

    Here you can find some auxiliary documentation that might be of help:

    Login or Signup to reply.
  2. There is no custom login endpoint in B2C.

    Calling the authorize endpoint pops up the B2C login screen.

    ROPC might meet your needs but it’s being deprecated and not recommended.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search