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

Add vso.* scopes support for Microsoft authentication provider #201679

Open
ronakj opened this issue Jan 2, 2024 · 2 comments
Open

Add vso.* scopes support for Microsoft authentication provider #201679

ronakj opened this issue Jan 2, 2024 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality microsoft-authentication Issues with the Microsoft Authentication extension upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@ronakj
Copy link
Contributor

ronakj commented Jan 2, 2024

I have an extension which needs to access Azure Devops resources, right now we can use the old ADO scope 499b84ac-1321-427f-aa17-267ca6975798/.default which gets access to all ADO resources. For some time this was the only option available.

ADO recently added support for smaller scopes, described here https://learn.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=azure-devops#scopes, and the release announcement https://devblogs.microsoft.com/devops/new-azure-devops-scopes-now-available-for-microsoft-identity-oauth-delegated-flow-apps/.

We want to switch over to using the smaller scopes as our extension doesn't usually need the full scope microsoft/ado-codespaces-auth#11.

However it seems the current VSCode client app doesn't support these new scopes
image

It would be great if the VSCode team could add support for these new scopes as well, considering we already have the earlier full scope authorized it shouldn't be that much of a stretch to get permissions for the smaller scopes 😊

@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented Jan 6, 2024

Yeah we're in the process of getting this ironed out. They will preauthorize things for us so this will "just work"... but it hasn't happened yet. Let's check up on this in a month. For now, use the big scope.

@TylerLeonhardt TylerLeonhardt added feature-request Request for new features or functionality microsoft-authentication Issues with the Microsoft Authentication extension labels Jan 6, 2024
@TylerLeonhardt TylerLeonhardt added this to the February 2024 milestone Jan 6, 2024
@TylerLeonhardt TylerLeonhardt added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Jan 6, 2024
@TylerLeonhardt TylerLeonhardt modified the milestones: March 2024, Backlog Mar 8, 2024
@ronakj
Copy link
Contributor Author

ronakj commented Sep 3, 2024

@TylerLeonhardt any update on this? With work on SFI being prioritized hopefully we can get some bandwidth for this more easily?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality microsoft-authentication Issues with the Microsoft Authentication extension upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants