How to create jwt and pass in JSON api tool
Confluence User - 11 Apr, 2023
I am integrating an api which needs a jwt bearer token to be passed in authorisation header
the jwt is generated with key signed with sceret.
So i tried to import io.jsonwebtoken and write the code in bean shell but no luck
i tried creating a hash variable plugin but the json api tool throws error
So how to write custom code and use it in various places in joget or
how to add external jars and use them and
finally how to dynamically set value in json api tool headers
plugins;beanshell;api