I’m developing a plugin with Atlassian Forge , it integrates Jira Cloud and our product ALM Server.
I use Fetch API of @forge/api to access my ALM Server, but I get the error in the below picture. It may be the SSL certificate trust issue.
So I add the code to the Fetch options below:
options.agent = new https.Agent({
rejectUnauthorized: false
});
But from the logs I printed, the ‘rejectUnauthorized’ property is ignored directly. Is it because of the Forge Fetch API?
Can someone tell me why?
Thanks in advance.