Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth0 organizations members list org_xxx error when outputting json #948

Closed
6 tasks done
anthonyangel opened this issue Dec 19, 2023 · 1 comment · Fixed by #953
Closed
6 tasks done

auth0 organizations members list org_xxx error when outputting json #948

anthonyangel opened this issue Dec 19, 2023 · 1 comment · Fixed by #953
Labels
bug This points to a verified bug in the code

Comments

@anthonyangel
Copy link

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this project and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

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 2bd069c

@anthonyangel anthonyangel added the bug This points to a verified bug in the code label Dec 19, 2023
@m3talsmith
Copy link
Contributor

@anthonyangel thanks for the report. We found the bug and it's merged in main. We'll get it out in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants