Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mislav
Copy link
Contributor

@mislav mislav commented Oct 16, 2020

  • Skip checking OAuth scopes for "integration" tokens - the X-Oauth-Scopes response header will either be missing or blank
  • Fix formatting in error message reporting missing OAuth scopes
  • Fix printing token source in gh auth status when scopes are missing
  • Add tests for HasMinimumScopes
  • Remove obsolete CheckScopes implementation
  • Disable update notifier when running under Codespaces
codespace:~/workspace/cli$ make && bin/gh auth status
github.com
  ✓ Logged in to github.com as mislav (GITHUB_TOKEN)
  ✓ Git operations for github.com configured to use https protocol.

Fixes #1489, closes #1074

Copy link
Contributor

@samcoe samcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. I like the clean up of the old CheckScopes implementation.

@mislav mislav requested a review from vilmibm October 20, 2020 14:38
@samcoe samcoe merged commit edecb2e into trunk Oct 27, 2020
@samcoe samcoe deleted the codespaces branch October 27, 2020 12:37
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

Successfully merging this pull request may close these issues.

Support GitHub Apps integration tokens as means of authentication Support VSCode builtin GitHub authentication

2 participants