I have created a 2 step sign-up custom policy. Where the first step verifies the email, and the second step generates a new password, and it was working well.
Then I followed all the steps here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-email-sendgrid?pivots=b2c-custom-policy to create a custom email verifier, so I could send the verification code with custom content. This, also seems to work fine.
However, adding it changed my flow somehow so that the email claim doesn't seem to be outputted by my first step and my claim transformation in my second step which uses the 'email' claim is failing.
In other words this works fine without the display claims portion below, and starts failing after I add it. What am I missing?
ClaimTypeReferenceId="email" TransformationClaimType="inputClaim" />
Local Email Verification
- IpAddress
- api.signUpVerifyEmailPage
- A user with this email address already exists.
Local Email SignUp
- IpAddress
- api.signUpSetNewPasswordPage
- False
