Trying to audit OAuth clients and their assigned scopes via the Genesys Cloud JS SDK. I’ve got the auth module working, but client.auth.getAuthClients() returns an empty array. The endpoint /api/v2/auth/clients works fine in Postman with the same token. Is this a known SDK bug or am I missing a specific import? Here’s the snippet:
const clients = await client.auth.getAuthClients();
console.log(clients);