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

Need more explicit documentation on access token scope needed to upload tasks #356

Open
tristanbarcelon opened this issue Sep 29, 2020 · 1 comment

Comments

@tristanbarcelon
Copy link

I created a personal access token with the following properties:

Organization = All accessible organizations
Expiration = 11 months
Scopes = 'Custom defined'
- Marketplace (acquire & publish)
- Extensions (read & manage)

Unfortunately, when tfx-cli is executed, I get nothing but a 401 error:

tfx build tasks upload --task-path 'c:\my\fully\qualified\path to extension'

Is there another scope that is missing? I've looked at these: build tasks and issue 281 but could not think of missing scopes.

After I generated a token with full scope, everything works. It would be preferable to only grant scopes required to upload the custom tasks.

@marcusteixeira
Copy link

same error here.

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

No branches or pull requests

4 participants