-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Should be able to "un-deny" an auth grant from the Manage Trusted Extensions UI #118486
Comments
Looks like this was just a code bug. The intent was that this quick pick would allow you to check on/off which extensions you trust. |
I'm not familiar with that UI, and wasn't able to find it in the command palette. @TylerLeonhardt can you provide some verification steps? |
Maybe I did something wrong but if I deny every extension they all seem to work fine and all the git actions still work. |
It still seems pretty broken to me, but I'll leave it up to someone else. |
In the case of the GitHub Pull Request extension, it basically logs in once and then maintains an Octokit object for all future GitHub API calls: there isn't a mechanism, today at least, that would invalidate that access token that was given to the client. It will eventually expire and then calling
Got some repro steps for this? |
Sorry I don't. |
How do I open a repo with GitLens? Also, I assume when you tried this, you already had GitLens denied, is that right? |
I played around with it a bit more and I couldn't get it to repo again. I'll call this verified for now and test it out again once #104008 is fixed as I assume theres just some auth state issues going on. |
Yeah as I think about it some more I think we may have to reload the window if auth is denied to ensure that an access token is no longer used. This would mean that #104008 would no longer make sense but we can continue this discussion there. Thanks for the feedback! |
Currently if you choose to Deny and auth grant prompt, you can still see the extension (as unchecked) in the Manage Trusted Extensions UI (👍), but if you attempt to check it and save, nothing happens. And if you re-open that UI it will be un-checked again.
I think we should allow undoing the denial from that UI.
The text was updated successfully, but these errors were encountered: