AD B2C ROPC user flow - Return Custom error meeages

185 views Asked by At

I am having a functionality to check the user is flagged with resetpassword or not during Sign-in

If the user is flagged with resetpassword, then I need to return error message saying "Reset the password and try again." else proceed with returning the JWT token.

I did not find a way to return custom error message from the ROPC user flow, can you please share some references or any solutions to this scenario.

0

There are 0 answers