requestRemote bridge API is now available for integrating remotes directly from the UI client

Hello Atlassian Community,

We have just announced the requestRemote bridge API, which allows Forge apps to integrate directly with remote backends from the UI Kit and Custom UI applications via the Forge bridge.

Our goal for the requestRemote API was to create a lightweight method for UI and Custom UI apps to interact with Forge remote backends. This specifically applies to requests tied to UI experiences, where the latency overhead of proxying from the Forge platform back to the remote was not optimal.

requestRemote is an implementation of this FRGE-1856, asking for direct UI client to remote access, but is also a workaround for several other feature requests, including:

This API is similar to invokeRemote bridge method, where requests include a Forge Invocation Token (FIT) as a bearer token in the authorization header. The main difference is that the requestRemote API does not create an invocation context that passes through the Forge platform. Therefore, requestRemote will not include OAuth tokens, even if configured for the remote, and will not be reflected in invocation metrics in the Developer Console. For more details on requestRemote, please refer to the documentation.

We hope this new API enables the adoption of the Forge platform for several currently blocked use cases, especially for those migrating from Connect to Forge.

Best regards,

Bo Yang Zhang

10 Likes

Cool! Looking into it in more detail later. For now: On the docu page, the link in this sentence links to nothing (the bold part):

See Verifying Remote Requests for more details on how to validate the FIT.

Can you fix the link?

1 Like

Thanks @AndreasEbert , sorry about the broken link, it has now been fixed.

2 Likes

Hello, for those who were waiting on FormData support for requestRemote, this is just a quick announcement that support has been added. This means that it could potentially be a workaround for the following feature request, which asks for invokeRemote to support FormData.

Please refer to the following changelog for more information.

If you have any feedback, please post it on this thread or alternatively, create a new thread and mention me.

Best regards,

Bo Yang Zhang

1 Like