Triggering email verification

后端 未结 1 773
长情又很酷
长情又很酷 2021-01-23 05:34

I am using custom policies.

The user journey desired is:

  1. User enters the email/password on screen 1.
  2. On successful validation of screen 1, the us
相关标签:
1条回答
  • 2021-01-23 06:12

    Yeah that caused me lots of trouble,

    I basically use a claims transformation to do it

    <InputClaimsTransformations>
       <InputClaimsTransformation ReferenceId="CopyClaimToreadOnly" />
    </InputClaimsTransformations>
    <InputClaims>
     <InputClaim ClaimTypeReferenceId="myAlreadyPopulatedClaim" />
     <InputClaim ClaimTypeReferenceId="myAlreadyPopulatedClaim-Readonly" />
    </InputClaims>
    <OutputClaims>
       <OutputClaim ClaimTypeReferenceId="myAlreadyPopulatedClaim-Readonly" 
    PartnerClaimType="Verified.Email" />
     </OutputClaims>
    

    The control isnt smart enough to realize that you populated the claim and you still want to do verification, it expects email entry and verification to be performed on the same page, when you split it you must do this claim copying

    Hope this helps

    0 讨论(0)
提交回复
热议问题