I’m migrating an Connect app to Forge. In our Connect app we will fetch data (jira issues/confluence content) and send it to an external server for processing along with an jira/confluence access token generated in the Connect app, so the external server can read protected resources like images and such.
In Forge app I was able to implement the communication to that external server but I can’t find any option to generate access tokens.
One option I came across is to use OAuth2 and to convert that external server to an OAuth app and generate token from within. But I think this makes things complicated. Because now the user has to
- Install Forge App
- Allow Access to Forge App
- Install OAuth App
- Allow Access to OAuth App
And from what I can see in OAuth App’s docs, it says that “OAuth 2.0 (3LO) apps are installed on a per-user basis” so that means if I have 10 users in my site does all 10 users have to install the OAuth app?
Is there any other options?