question

MunazzaOsama-2843 avatar image
0 Votes"
MunazzaOsama-2843 asked MunazzaOsama-2843 commented

MFA phone number does not appears in token claims after sign up

i have applied the MFA on sign up using custom policies following this MFA using custom policy,
MFA working fine,



i have added following claim in relying party

 <OutputClaim ClaimTypeReferenceId="strongAuthenticationPhoneNumber" />
 <OutputClaim ClaimTypeReferenceId="strongAuthenticationPhoneNumber" PartnerClaimType="phone_number" />

but i am not getting strongAuthenticationPhoneNumber as claim after sign up, but when i sign in with this created account it shows in the claims.
i want to have strongAuthenticationPhoneNumber in claims immediately after sign up.
i am using jwt.ms for quick viewing of claims

azure-ad-b2c
5 |1600 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

helshabini avatar image
2 Votes"
helshabini answered MunazzaOsama-2843 commented

During signup, the phone number can be found in the claims reference "Verified.stringAuthenticationPhoneNumber".

Therefore you can also add this output claim in addition to the one you already have:

 <OutputClaim ClaimTypeReferenceId="Verified.strongAuthenticationPhoneNumber" />


· 1
5 |1600 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.

thank you for your response, yeah i tried this and returned the MFA number

0 Votes 0 ·