REST API security issues are best handled through API management software that can authorize users for REST APIs on z/TPF. The API management layer can perform the authorization before sending the request into z/TPF. As far as what the z/TPF system understands regarding the authorization is up to the application. The REST provider support allows REST APIs to be defined through OpenAPI in which something like an OAuth header can be defined to pass authorization information. It is up to the z/TPF application to process the header data which could be stored by DFDL as a string. There is no specific JWT support apart from creating a Java application on z/TPF to handle the request.
If a JWT needs to be handled on z/TPF, there are several functions that can be employed such as tpf_base64Encode/tpf_base64Decode and tpf_RSA_sign/tpf_RSA_verify, or an idea can be opened if there's a business need to more easily handle such data by the application. Let me know if this helps.
------------------------------
Bradd Kadlecik
------------------------------