How to divide the entry of credentials into two pages in ADB2C (as happens with the login to Microsoft services)

Errico, Giuliano [COMRES/EUR/BLU] 55 Punti di reputazione
2024-02-21T11:09:17.97+00:00

I'm using ADB2C custom policies to customise the login page of an application.
I would like to provide a user experience for sign in similar to Microsoft, that is entering user credential (email and password) in two steps. I would also like to perform some checks on the email provided by the user before going on with the authentication. To better explain what I mean here is a screen of what I would like to achieve (please don't care about Sign in options, I don't need it for now):

Screenshot 2024-02-21 at 11.54.41

ADB2C Custom policies permit a form with both email and password in the same page, but I want to split them (like the screen above) and check whether the password profile is marked as 'forceChangePasswordNextSignIn'. This is the flow:

  • User enters email address and click Next button
  • The policy checks the forceChangePasswordNextSignIn flag for that user/email address
  • If set to false the login page shows the password form (normal experience)
  • If set to true redirects the user to password reset page
Non monitorato
{count} voti

Risposta accettata
  1. Yordan Ivanov (Convergys Corporation) 280 Punti di reputazione Fornitore Microsoft
    2024-02-22T12:32:53.4933333+00:00

    Il cliente ha continuato nel forum Inglese, thread dupplico.


0 risposte aggiuntive

Ordina per: Più utili