-
Notifications
You must be signed in to change notification settings - Fork 10
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Unable to login using Personal Access Token #82
Comments
cc @prashantvc |
@ssbarnea Could you please confirm you followed the following steps to create PAT token?
|
I was able to get a token working but only after using the BFG of generating one with full access to all organizations. The reality is that that current process for generating tokens for publishing to the marketplace is a huge PITA. The UI is confusing and cryptic, I would not exaggerate to say that this was the worst authentication experience I encountered in two decades. Please fix this once for good by adding an option in the marketplace UI to generate a token. As you already removed the ability to create organizations from the command line, it would make sense to at least generate tokens from browser on the manage publisher/extension page, without redirecting user to other systems. I hope you will take this ticket as "constructive feedback" and not personal. If a product manager ever reads this ask him to make an user test experiment: ask someone that never used azure devops or published a vscode extension publish one generated with the vsce tool. Do not forget to start a timer ;) -- IMHO, it should take less than 10 mins in average, not hours or days of frustrations and cryptic error messages. I know that this is not really caused by "vsce" itself at a tool, but more of the backend issue (marketplace). |
Hey @ssbarnea, I agree with everything you said about the generating the token. We are experimenting different options, and I would love to get your feedback. Please pick a time here https://book.ms/prchol@microsoft.com, we can chat about it :) |
@prashantvc I had this problem also. I resorted to using the website to manage my extensions instead for a long while. I had another go because I wanted to use Github Actions to do this. It was only after reading this issue that I got it working by generating a token with all orgs and all permissions. It was on 4th attempt that it worked! |
I have exactly the same Problem I get a I tried recreating the token and even tried with a full access token it didn't work, the same error. I tried it 8 times with new tokens and vsce installations. Within GitHub Actions It's the same Problem/ It just fails. |
One of the worst and most frustrating journeys, I've been sitting on this issue for years. Still can't get into my VSCE and update my package... |
I can only publish from one computer. When I try to |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I created a publisher named zbr and manually uploaded my extension to it but it seams impossible to setup the CLI vsce for publishing as one. Based on what I read on microsoft/vscode-vsce#507 i believe I am not the only one confused by the weird authentication setup.
My account
sorin.sbarnea@gmail.com
is listed as owner ofzbr
publisher and I tried generating a PAT fromhttps://dev.azure.com/sorinsbarnea/_usersSettings/tokens
but it does not work when I try to use it to login using vsce, I always get Failed request: (401).The page from https://marketplace.visualstudio.com/_apis/connectiondata does report something like:
Update
After generating full access to all organizations on my PAT, the error message changed from 401 into:
I am not sure what this means, but somehow I feel that the dev.azure.com user is different than the one used by the marketplace. At the same time the system fails to give any hints regarding the the kind of magic required to authenticate on dev.azure.com using exactly the same user.
If I try to access the directory switch option, I can see:
Still, this does not tell me which kind of directory I am support to use
The text was updated successfully, but these errors were encountered: