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

[git] false negatives when validating token scopes #4478

Closed
JanKoehnlein opened this issue Jun 11, 2021 · 4 comments
Closed

[git] false negatives when validating token scopes #4478

JanKoehnlein opened this issue Jun 11, 2021 · 4 comments
Assignees
Labels
aspect: authentication This is a broad, abstract, and almost impractical category that we have yet to sort out. component: ide meta: stale This issue/PR is stale and will be closed soon

Comments

@JanKoehnlein
Copy link
Contributor

Bug description

Sometimes on git operations a dialog pops up claiming

The remote repository “…” is not accessible with the current token. Please grant the necessary permissions
even though the user is correctly authenticated and the operation succeeds.

See https://community.gitpod.io/t/the-remote-repository-is-not-accessible-with-the-current-token-please-grant-the-necessary-permissions/3829

Steps to reproduce

Happens sporadically

Expected behavior

No response

Example repository

No response

Anything else?

No response

@JanKoehnlein
Copy link
Contributor Author

We should improve logging around this topic

@gtsiolis gtsiolis added aspect: authentication This is a broad, abstract, and almost impractical category that we have yet to sort out. component: ide labels Jun 11, 2021
@janpio
Copy link

janpio commented Jun 11, 2021

When trying to push to a origin that I added to get around that (perceived) problem, I also sometimes get this error message without actually naming the repository in the error message.

@JanKoehnlein
Copy link
Contributor Author

See also #4503

@stale
Copy link

stale bot commented Sep 12, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Sep 12, 2021
@stale stale bot closed this as completed Sep 22, 2021
MatthewFagan pushed a commit to trilogy-group/gitpod that referenced this issue Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: authentication This is a broad, abstract, and almost impractical category that we have yet to sort out. component: ide meta: stale This issue/PR is stale and will be closed soon
Projects
None yet
Development

No branches or pull requests

3 participants