I'm encountering an issue where the otherMails claim, which is a string collection, is not included in the JWT token when added as an output claim in a SignUpOrSignIn RP(RelyingParty) policy.
Note: otherMails claim already defined in base policy (TrustFrameworkBase.xml) in the starter pack. I'm trying to ship it in JWT token.
Steps to reproduce
- Download the starter pack and configure place holder values as per documentation(yourtenant, ProxyIdentityExperienceFrameworkAppId, IdentityExperienceFrameworkAppId and others)
- Add the otherMails Claim to the OutputClaims of a SignUpOrSignIn RP policy.
SignUpOrSignin.xml
- Upload TrustFrameworkBase.xml, TrustFrameworkLocalization.xml, TrustFrameworkExtensions.xml and SignUpOrSignin.xml in Identity experience framework as specified in documentation.
- Run SignUpOrSignin.xml with https://jwt.ms as reply URL.
- SignIn page shown up, Now sign in with Email and Password.
- Logged in successful and https://jwt.ms displays token data

7. **otherMails** claim is not found.