Hello @Likitha Bommasani
Thank you for posting your query on Microsoft Q&A
From your description, I understand that you’re experiencing issues "Invalid username or password." This is a pretty common problem with a few documents/threads that can help you resolve it. From this SO thread:
"Claim names between user flow and custom policies are different, so here when it’s trying to verify the old password, the user's identifier ends up being null. Use custom policies OR user flows, do not combine." and may be replying party and client id are missing from custom policy.
If you are using both, this may be the case. This Github thread should help with details.
Another thread here describes a more complex problem that could be to blame.
Refer document: https://learn.microsoft.com/en-us/answers/questions/1108322/azure-b2c-issue-trying-to-signin-users-by-using-cu
Kindly check over these documents and let me know if they are useful. If not, I can help you further.
If this answers your query, do click "Accept Answer"
and "Yes"
for was this answer helpful. And, if you have any further query do let us know.
Best regards,
Sakshi Devkante