Can I Use Forge Resolver Functions in Forge Remote, or do I need to use Web Triggers?

Hi Atlassian Community! :wave:

I’m building a Forge app and need to set up a solution that works like a REST API for my own Forge functions (not product api or only forge storage), secured with a token to ensure requests are coming from a trusted source. My specific question is:

  • Can a Forge remote directly call a Forge resolver function?
  • Or do I need to implement a web-trigger-based solution and handle the token-based authentication myself?

I’m looking for the best approach to achieve a REST API-like workflow within Forge, where I can ensure secure communication. Any advice, examples, or best practices would be super helpful! :pray:

Thanks in advance! :sunflower:

1 Like

Hi @MateuszKorczyski, unfortunately you cannot trigger a Forge function from a Forge remote directly, it only works the other way around. Today, the only way to trigger your Forge function from outside of Forge would be to go through a web-trigger, where you will need to implement your own auth solution.

2 Likes

Hi @BoZhang, Thank you for confirmation!