Authorize forge app for all users in Confluence

Hello, I’ve developed with forge a macro for Confluence that uses the scope ‘read:confluence-space.summary’ because of this line of code:

const response = await api.asUser().requestConfluence(query);

Is there any way to avoid the step of asking every user to allow the app permissions?

NOTE: I could change api.asUser() by api.asApp() if needed, but only if it allows me to avoid this authorization step.

Thank you!

1 Like

You should move this to the forge area so that you can get the forge developers attention.

That said - you’re acting as the user (asUser() ) and therefore your app might do things that they’re not aware of (and thus they need to opt in).


Thanks Daniel. And sorry for the wrong posting. :innocent: