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

PAT potentially not authorized #38

Closed
Goran1708 opened this issue Oct 3, 2022 · 2 comments
Closed

PAT potentially not authorized #38

Goran1708 opened this issue Oct 3, 2022 · 2 comments

Comments

@Goran1708
Copy link
Contributor

Screenshot 2022-10-03 at 10 38 55

If ateam works but it constantly returns table with no results, it might be because we did not authorize with our organization as shown in image above. If there is not result, rather then printing empty table, we should show text saying something like "No results(check if you organised your PAT with organization.)"

@frisoft
Copy link
Owner

frisoft commented Oct 3, 2022

It would be very confusing. You may have no results just because you search for something specific with the --query option.
Also, not everyone uses organisation SSO.
I think the best solution is testing if there is access to the organisation listed by --org or --repo: #37 (comment)

@frisoft
Copy link
Owner

frisoft commented Oct 3, 2022

Duplicate of #37 (comment)

@frisoft frisoft marked this as a duplicate of #37 Oct 3, 2022
@frisoft frisoft closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants