How to use External Auth to pull down Github NPM packages?
github_token returned by the auth, and we've verified that the token then has access to other repositories that the user has access to. So far so good.Where we're struggling now is using the same token to access Github's package repository (NPM). Here's what we've done so far:
1. Made sure the Github App has
read:packages permissions.2. Set the
CODER_EXTERNAL_AUTH_0_SCOPES environment variable to repo workflow admin:public_key read:packages (note, also tried with commas).3. Verified that the scopes look good in
https://... our endpoint/api/v2/deployment/config4. Set up the
~/.npmrc file:When the workspace boots up and we try to log in:
When I check the Github Security Logs, it always lists token_scopes as empty for the tokens being generated... is there something else we need to do, or a bug?
