Hi!
I’m trying to read user data in a Forge plugin using the fetch API:
api.asApp().requestConfluence(route`wiki/rest/api/user?accountId=abc`)
According to the documentation, I added this permission scope to my app:
permissions:
scopes:
- 'read:confluence-user'
However, the API call gives a 401, Unauthorized; scope does not match. Running forge lint -fix
doesn’t add any permissions at all to my manifest. Is it even possible to fetch user details from an app context and what permissions are required in that case?
Thanks!