How to use Confluence api without having every user granting permission?


I’m currently developing a macro for confluence and would need to fetch a list of users in the confluence space/instance.
However, whenever I add the api calls (/scope) for this, I have to allow access to the app with every user. Some of the users can’t even do that.

I’ve tried using api.asUser() and api.asApp() but it doesn’t seem to make a difference.

What is the correct way to do it?

Hi Martin, currently this is how all Forge apps work but we’re about to release some changes that will mean you can avoid this. Keep your eyes on the change log in the next couple of weeks for more details.

1 Like

Hi Adam,

any update on this?

I’ve seen the release note from the 27th ( but it using api.asApp() still asks every user to allow access.


Cross posting the news here:

1 Like