I was able to get past this error by setting the below [pg_JWT_isHTTPS to false]
Similar to https://tech.forums.softwareag.com/t/api-gateway-jwt-errordetails-transport-protocol-must-be-https/234879