cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FlowHawk
Helper III
Helper III

Password Reset Redirects to "Sign In Failed" page

Hey all,

 

I've configured my Power Apps portal to use Azure B2C for external authentication. Everything works great except for this one piece. When a user resets their password they are redirected to .../Account/Login/ExternalAuthenticationFailed with this error:

 

FlowHawk_0-1620233281188.png

 

If they click "Sign in" and use their newly reset password, they authenticate correctly. What that means is that the password reset flow is resetting their password correctly, but just redirecting the user to an error page. How can I change this user experience?

 

Note: I set up the Azure AD B2C using the wizard at make.preview.powerapps.com so I haven't manually configured any settings.

16 REPLIES 16
OliverRodrigues
Super User
Super User

I am glad it worked 

 

@justinburch would you be able to let the product team aware of this possible issue? 




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User


Oliver Rodrigues


 

Hi @FlowHawk,

If you haven't already, I would definitely recommend submitting a ticket to Microsoft so this can be appropriately tracked and investigated. I'm not sure if anyone from the product team browses this community, but I think that's their preferred method of identifying issues so that they know who the point of contact is.

Glad to see you got a workaround, though!

ok two things on this:

  1. I can't even access a wizard for setting up B2C for my portals
  2. I've been wrestling with the Microsoft documentation for manual B2C setup for 3 days and it's been terribly frustrating. This forum post saved the day, thank you so much!
FlowHawk
Helper III
Helper III

@gdavenport glad it got you through it! It's definitely a difficult journey to take on. After Oliver helped me through this issue I made a youtube video so that I wouldn't forget the whole process I went through: Leverage Azure B2C for Authentication in Power Apps Portal - YouTube

 

If you get stuck again, it might be of help.

gdavenport
Advocate I
Advocate I

Thank you @FlowHawk !

Hi Oliver,

 

How about the case when the AAD app is configured to be used in Authorization Code Flow with PKCE ? This is my case, I can't enable any checkboxes as here:

 

bechespuiaovi_0-1639052032560.png

Whats the solution in this case?  I get the same redirect to error page after password reset.

 

Thanx

chleverenz
Super User
Super User

Hi @bechespuiaovi ,

i think pkce is not supported in portals. Had the same issue a while ago and we had to switch the challenge off for the application registered for portals (was not ad, but another provider).

See here for the doc: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-provider

Sorry for the disappointing answer,

  Christian

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Users online (3,723)