routeApi access from another Forge application

Hi all,

I have create a test App leveraging the routeApi module (https://developer.atlassian.com/platform/forge/manifest-reference/modules/api-route/).

I followed the tutorials:

  • declared custom scope
  • push them to forge environment
  • added the route Api module declaration
  • deployed the app on my instance.

I see the part of the tutorial to create an 3LO to access the route from “outside”, I would like to do it from another Forge App. When hitting the url, I get a 401.

My questions:

  1. is there a trick to make this work ?
  2. is this even supposed to work ?
  3. what else could I use to make 2 Forge applications communicate more than payload less AppEvents ?

Regards,

Use Forge remote and a single external server that acts as an exchange server between both Forge apps (easy option). Forge AppEvents is not yet GA, so Atlassian is still figuring out how to make it restricted while offering it as an option. The other tricky option is to try postMessage() which may be complicated as it sound but if anything could work, that is the closest.