@spall Here we go!
A few slight tweaks, deploy and uninstall/upgrade to use updated permissions and this allows a secure authorization endpoint!
const response = await api.asUser().requestConfluence(route `/wiki/rest/api/search?cql=type=user`);
Should be what’s needed for all user retrieval, or change the cql query as needed. 
4 Likes