i am having issues while calling jira cloud api from atlassian connect application using nodejs can someone please help me out with Token verification process i tried using jwt as bearer token but that didn't worked so i tried basic authentication by passing username and password but i don't think that approach is good.
And also jwt will be used for 'addon.checkValidToken()' and 'addon.authenticate()'
Also i tried to find some code snippet on atlassian official documentation but wasn't able to.