Hello @Amrit Gurung and thanks for reaching out. For Azure AD B2C to capture and issue the jti claim from the token issued by the NHS Login provider you need to:
1. Register the claim type in your ClaimsSchema:
<ClaimType Id="jti">
<DisplayName>jti claim</DisplayName>
<DataType>string</DataType>
<DefaultPartnerClaimTypes>
<Protocol Name="OAuth2" PartnerClaimType="jti" />
</DefaultPartnerClaimTypes>
</ClaimType>
2. Add it to your NHS Login Provider/Technical Profile OutputClaims element.
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="jti" />
</OutputClaims>
3. Add it to your User Journey OutputClaims element.
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="jti" />
</OutputClaims>
To pass the jti claim to a new user flow/custom policy you can post it as a query param (E.g. ?jti=token), and send it to your NHS Login Provider authorization endpoint using the former InputClaims and OAuth2 key-value parameters claim resolver (Eg. {OAUTH-KV:jti}).
<InputClaims>
<InputClaim ClaimTypeReferenceId="jti" DefaultValue=" {OAUTH-KV:jti}" />
</InputClaims>
Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.