Welcome to the IBM Community, a place to collaborate, share knowledge, & support one another in everyday challenges. Connect with your fellow members through forums, blogs, files, & face-to-face networking.
IBM Integration Community Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
There are examples you can use as templates in store:/gatewayscript/example-jwt-create.js and store:/gatewayscript/example-jwt-validate.js. The jose and jwt modules are in the documentation at https://www.ibm.com/docs/en/datapower-gateway/10.0.x?topic=apis-jose-module and https://www.ibm.com/docs/en/datapower-gateway/10.0.x?topic=apis-jwt-module for more information.
As for a V10 API, you'd simply place code similar to the examples into a GatewayScript policy within the assembly.