After inserting a wrong PAT once, the extension does not work even with a correct PAT
See original GitHub issue@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
and workflow
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).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:19 (7 by maintainers)
Top GitHub Comments
I have just released version 0.7.0 with integrated VS Code authentication support, closing this for now.
@cschleiden - That was it 😄. I had to delete the credentials in Windows, re-enter and re-start code. It works now.