Hi @dino and Team,
I am using a javacallout policy named java://apigee-callout-encrypted-jwt-20210630.jar and populating headers named kid,key encryption algorithm and content encryption algorithm.
Now our requirement is to get an extra header in jwe named cty with value JWT. I followed the document https://github.com/DinoChiesa/Apigee-CustomPolicy-EncryptedJWT.
But if i add header property as below
{“cty”: “JWT”}
But I am getting entity was not Json object error.
Please let me know the procedure to populate an additional header cty in headers section of jwe.