question

AyeshNipun-4045 avatar image
0 Votes"
AyeshNipun-4045 asked ·

Cannot read property 'claim_value' of undefined in Azure B2C password reset polic

I'm using a custom page layout for both sign-in and password reset policies in Azure B2C. Recently, I encounter a problem with password reset user flow.

When I enter the email and after clicking on send verification code, B2C sends me a verification code.
After entering the verification code, I'm clicking on Verify Code button. This is the place where the error comes. It does nothing. When I looked into the console, I saw the below error
Uncaught TypeError: Cannot read property 'claim_value' of undefined

By doing a lot of testing, I realized that this error comes only when I'm using a different language other than English. When i use English as the language of the user flow, It works perfectly

Can anyone help me with this? Thank you

azure-ad-b2c
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered ·

@AyeshNipun-4045 there seems to be some configuration problem at your end as I could not replicate the issue in my B2C test tenant. Are you using built-in user flow or custom policies? Have you tried using default page layout to see if you still face the issue?

Could you please send working and non-working fiddler at azcommunity[at]microsoft[com]com, so that we can further look into the problem and reach out to you via email.

· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@amanpreetsingh-msft Yes, I'm using the built-in password reset V2 policy. And I tried changing the layout to the default one. Still getting this error when another language is enabled while in the default layout.

It's not clear to me what you are asking. Is it the imported XML file of the user flow that you are asking me to send you?

0 Votes 0 ·

@AyeshNipun-4045 You need to follow below instructions to capture the fiddler trace:

Setup:

To get traces:

  • Start fiddler (it will start capturing)

  • Repro the issue.

  • Stop fiddler capturing by hitting the F12 key.

Please capture a working set of trace by setting the language to English as well and share that via email.

0 Votes 0 ·