If I want to use OAuth to authenticate with an external system within a webhook (or otherwise), broadly I have 2 options. I can either:
- run 2 API calls in the webhook, one to the OAuth endpoint get the token, and the other to run the call I care about
- set up an outbound application in Foundry which manages my Oauth for me
I would ideally like to use the second option here as it’s a much better abstraction and means I don’t really have to think about the OAuth call. However, if I use Outbound applications, it forces the user to click something, and then authenticate at a special endpoint (“Authorization Page URL”) before running the webhook. Is there anyway I can bypass all this as it’s not necessary and disrupts the user workflow.