Requirements
Due to variations in how jq, base64 and other tools are compiled (under o.s. different than linux), an option is to execute the scripts under docker.
Create docker image
First create the docker file for the image (with all the dependencies), we could use the following dockerfile
The image can then be created using the following command:
docker build ./ -t <image_name>
# execute docker as:
docker run -it --rm -v $(pwd):/src <image_name> sh /src/scripts/jwt-ipo-das.sh client_ID /src/config/client_pem_file.pem