Hi folks! I’m building an internal Forge application at work, so that we can augment our Jira issues with some data about our business context as part of a custom field. The data is exposed through an API service that we control.
Here’s the workflow that I want to implement:
- User loads a Jira issue in our production instance.
- As the issue loads, the Forge app executes when the custom field is rendered.
- The Forge app accesses our API through a Forge remote.
- Our API verifies that the request from the Forge app is from an authenticated user in our production Jira instance.
- If so, returns the data. If not, returns an error.
I want to understand how can step (4) be achieved. The Forge app is only installed in our production Jira instance, so I want the API to be able to confirm that by using the Jira user’s authentication when they load the issue.