Hi @Tdev Feeds ,
Thanks for reaching out and apologies for delay in response.
I understand you are trying to get JTI claim in JWT token.
Azure AD provides "nonce" claim in the ID token to protect against relay attack. Your application can specify a nonce in an authorization request by using the "nonce" query parameter. The value you provide in the request is emitted unmodified in the "nonce" claim of an ID token only. If it does not match, your application should reject the token.
JWT spec sets the claim name as “jti”. While OAuth Spec mentions it as “asserting id”. When Microsoft designs and implements it in AzureAD, we name it as “nonce”.
We don’t have the official method to add the “jti” in the ID token natively.
Hope this will help.
Thanks,
Shweta
-------------------------------------
Please remember to "Accept Answer" if answer helped you.