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

Allow granular scopes based on extension preference #11

Open
ronakj opened this issue Dec 21, 2023 · 2 comments
Open

Allow granular scopes based on extension preference #11

ronakj opened this issue Dec 21, 2023 · 2 comments

Comments

@ronakj
Copy link
Contributor

ronakj commented Dec 21, 2023

Azure devops added support for granular scopes https://devblogs.microsoft.com/devops/new-azure-devops-scopes-now-available-for-microsoft-identity-oauth-delegated-flow-apps/. Previously we only had one default scope which allows access to all APIs.

Most developers using codespaces don't need tokens beyond vso.code_write (Git pull, push) & vso.packaging (Packaging - read). Getting full access tokens also risk developers making unintentional changes.

We can default to using the existing full scope, but allow developers to add the needed scopes in their devcontainer configuration using the VSCode settings customization option.

@ronakj
Copy link
Contributor Author

ronakj commented Dec 21, 2023

@markphip something your team might want to look into if they have the bandwidth. Otherwise I will work on it next Feb/March whenever we have FHL week.

@ronakj
Copy link
Contributor Author

ronakj commented Jan 2, 2024

Blocked on microsoft/vscode#201679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant