auth0 organizations members list org_xxx outputs in table format by default, but according to the docs auth0 organizations members list org_xxx --json should output a json list of objects.
What the command with --json does is output a json list of objects of the correct length (ie it matches the number of users) but every user object is the last user in the list.
Expectation
Expecting to see a list of objects corresponding to the users in an organization
Reproduction
1.) Run auth0 organizations members list org_xxx, (with a valid org ID) - validate that you see a table output
2.) Run auth0 organizations members list org_xxx --json, (with a valid org ID) - validate that you see the json output with a single user repeated multiple times
Auth0 CLI version
auth0 version 1.3.0 2bd069cfc1ee0501ed039fc80b2e550447c8ef14
Checklist
Description
auth0 organizations members list org_xxx
outputs in table format by default, but according to the docsauth0 organizations members list org_xxx --json
should output a json list of objects.What the command with
--json
does is output a json list of objects of the correct length (ie it matches the number of users) but every user object is the last user in the list.Expectation
Expecting to see a list of objects corresponding to the users in an organization
Reproduction
1.) Run
auth0 organizations members list org_xxx
, (with a valid org ID) - validate that you see a table output 2.) Runauth0 organizations members list org_xxx --json
, (with a valid org ID) - validate that you see the json output with a single user repeated multiple timesAuth0 CLI version
auth0 version 1.3.0 2bd069cfc1ee0501ed039fc80b2e550447c8ef14