Let’s imagine the App BaseURL is https://great-app.meetical.io, and we defined an endpoint
/get-user-preferences. Any calls to that endpoint should be made with a valid JWT token so we can authenticate the current user.
Our Confluence Host URL could be https://some-host.atlassian.net/wiki
On a general page we can use
AP.request() to call the Confluence APIs. But what about our own ConnectApp APIs? That method will always prepend the Confluence Host URL so this API seems not to be able to make secure requests to our App.
Is there any other method or API to achieve this? I’ve also searched if there is a special Cloud module for this but could not find any.
Thanks for any suggestions!