for our Forge-based App DataForms for Confluence Cloud we need to be able to search for users (e.g. in a UserPicker).
Getting Users by name or ID (https://developer.atlassian.com/cloud/confluence/rest/api-group-users/#api-api-user-get ) does not seem to be possible because the scope read:confluence-user is required but can not be set (see: https://developer.atlassian.com/platform/forge/manifest-reference/permissions/).
When searching for Users (https://developer.atlassian.com/cloud/confluence/rest/api-group-search/#api-api-search-user-get) we only get back a 401 “Unauthorized; scope does not match” The documentation unfortunately does not say anything about an OAuth scope. We get the same 401 response when trying to get the current user.
Does anyone know another way to call other (user-search) endpoints within forge. Or can you (@atlassian) tell us when we will be able to add the call these rest endpoints within forge?
Thank you very much.