Hi everyone, I am trying to fix an issue I am facing where whenever a portal user resets their password, they get redirected to a portal error page.
Our PowerApps portals instance is using Azure AD B2C as an authentication provider. The Sign up/Sign in seems to be working fine, but we are having an issue with the password reset functionality. We are using a B2C user flow to manage the password reset. The password reset policy does seem to be working as users are able to reset their passwords successfully. However, after they reset the password they get directed back to a portal error page.
I have checked the Authentication/OpenIdConnect/tnibizhubB2C/ValidIssuers Site setting and it does match the user flow config.
Below are the steps that the users are taking:
1. click forgot password
2. enter email and receive verification code
3. submit verification code
4. enter new password
5. this directs me to the error page
My theory for this issue is that it is trying to log me into portal with my old password and not the new one, but I'm not sure if this is correct or even how to go about fixing it.
Any advice would be great,
My guess is that you have some cached information on your old account in your browser. If you try logging in using InPrivate/Incognito mode do you have the same issue? If you don't, you should be able to just clear your cookies/cache and you should be good to go.
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Same issue occurs whenever I clear my cookies and use incognito mode. The user still gets sent back to the error page. I have started looking into changing where the password reset redirects you, in case I can have it bring you to the sign up/ sign in page on azure ad b2c, but sadly I don't think it is possible.
I worked separately with Niall on this one.. The issue here was due to a custom policy that was injecting the wrong URL when the user was resetting the password.
Would you have similar scenario in your case?
My user flows are standard out of the box. I've posted my issue in a new thread. Thanks for hopping in to help me there Oliver! Password Reset Redirects to "Sign In Failed" page - Power Platform Community (microsoft.com)
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.