microsoft / Git-Credential-Manager-for-Windows

Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication.
Other
2.87k stars 591 forks source link

Request scope for reading GitHub packages (read:packages) #881

Open jcansdale opened 4 years ago

jcansdale commented 4 years ago

Which Version of GCM are you using ?

Git Credential Manager for Windows version 1.20.0

Which service are you trying to connect to

Expected behavior

Token is created that is able to read GitHub Packages.

Actual behavior

repo and gist scopes are available but not read:packages.

See here: https://github.com/microsoft/Git-Credential-Manager-for-Windows/blob/master/Shared/Cli/Program.cs#L83

Notes

Azure DevOps defaults to including the vso.packaging scope, see: https://docs.microsoft.com/en-us/azure/devops/extend/develop/manifest?view=azure-devops#scopes image

jrbriggs commented 4 years ago

@jcansdale I'd happily review a PR for this feature!