B2C Custom policy asking for SignIn again with profile edit after an error in profile edit step

AB 156 Reputation points
2020-03-19T12:10:33.807+00:00

I'm working with custom policies, i have a profile edit policy, in which i have an OTP validation step (a self asserted step). I have set the retry limit of this step to 10. If the profile edit happens without any error, everything is fine. But if some error occurs, say i have entering an invalid OTP for 10 times then the self asserted steps retry will get exceeded and will throw an error. I'm handling that in my application and if i try to re launch the profile edit policy again it will ask for login. But the normal flow is not asking for signin (if no error happened during profile edit previously), also Request.IsAuthenticated in my ASP.NET application is true. Any idea

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,652 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 34,036 Reputation points Microsoft Employee
    2020-03-24T01:13:28.293+00:00

    What errors do you receive? Does it happen on some devices and not others, or is it consistent with when you validate without errors vs. with errors?

    I have heard that sometimes this happens due to time sync issues with the device, in which case it may require a manual sync.

    Could you please share more of your error logs?