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

FIX: prvd connectors list #23

Open
zacparker41 opened this issue Feb 21, 2022 · 1 comment
Open

FIX: prvd connectors list #23

zacparker41 opened this issue Feb 21, 2022 · 1 comment
Labels

Comments

@zacparker41
Copy link

No description provided.

@zacparker41
Copy link
Author

This should be returning the list of connectors for the authorized user. Instead, it is returning a 401. Running this command in Postman results in a 200 status. It's possible the CLI is using the wrong token to make the request. The request should be made with either an organization token or an application token. Update the CLI command with the following options:

If user types prvd connectors list a menu should be presented that prompts the user to select whether to retrieve connectors for an (A)pplication, an (O)rganization, or (H)elp.

  • If user selects A, they should select an Application from their list of Applications and the request should be made using that Application's JWT
  • If user selects O, they should select an Organization from their list of Organizations and the request should be made using that Organization's JWT
  • If user selects H, the result should display a list of available commands and flags, including prvd connectors list --organization string and prvd connectors list --application string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant