-
Notifications
You must be signed in to change notification settings - Fork 35
After inserting a wrong PAT once, the extension does not work even with a correct PAT #35
Comments
Thanks for the detailed description and the repro steps! The new vscode authentication API seems to be finally moving into the stable release, once that's done #20 should simplify all of this by a lot. |
Same problem here. Regenerated PAT but where do I insert it? |
Ok found it and restart of vscode solves it. |
any new about this? |
Having the same issue, even restarting does nothing, can the known workaround please be posted for the time being? Thanks! |
Using the |
@cschleiden MacOS, and no, login didn't work :( |
@cschleiden just to let you know, I'm also using MacOS (Catalina 10.15.5) |
@cschleiden I am facing the same issue on MacOS. |
I cannot get the auth working either event with correct token. |
@cschleiden - That was it 😄. I had to delete the credentials in Windows, re-enter and re-start code. It works now. |
@rajyraman awesome, great to hear! I really hope the VS Code team GAs the authentication API soon... |
@cschleiden The solution provided for Mac OS did not work. :( |
Hm, what do you mean by that? What did you do and what do you experience now? |
@cschleiden |
@cschleiden any update on this bug for Mac OS? |
@akapur1784 I can't repro unfortunately. Could you open the vs code dev tools, do you see more details about the error there? Otherwise I'm expecting the VS Code July release to drop any day now: microsoft/vscode#103792 Within a day or so after the release I'll be able to update the extension to not require the manual PAT entry. |
I have just released version 0.7.0 with integrated VS Code authentication support, closing this for now. |
@cschleiden Sorry by the title, it does work indeed, however it was a bit tricky for me to discover that.
I installed the extension by the first time and I inserted a wrongly created PAT (with less permissions than necessary).
After trying using the extension (with the wrong PAT) I correctly received the
An error has occurred
message.Reading the docs I realised that I should have added more permission. So I deleted my old PAT, created a new one with the right permissions and I inserted it in the extension by using the following menu:
After inserting the CORRECT PAT I've just received the following message:
I tried many times with the
repo
andworkflow
permissions enabled but the problem kept happening.So I decided to try to uninstall and install it again. (also reloading the VSCode)
Even before inserting the PAT again, the extension started to work properly!!!!!!!
After trying many times this flow, I realised that is necessary to ALWAYS reload VSCode if you want to change the PAT.
Summarising:
Insert a wrong PAT, extension does not work, fix the PAT and insert it again, extension (still)does not work, reload VSCode, extension does work (without any changes).
The text was updated successfully, but these errors were encountered: