Skip to content

Authentication polish around account access #252452

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

Merged
merged 1 commit into from
Jun 25, 2025
Merged

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Jun 25, 2025

This adopts the AuthenticationQueryService in:

  1. Manage Trusted Extensions quick pick
  2. An MCP server's Quick Pick (shows Sign Out or Disconnect account)
  3. An MCP server's view (shows Sign Out or Disconnect account)
  4. Depend on this service instead of some sily map in the MCP Registry
  5. Have the AuthenticationAccessService own looking at the product.json so that implementers don't need to know about it

This also contains a number of squashed bugs...

  1. We were not cleaning up storage state when an extension or mcp server was uninstalled
  2. The Extension Access service wasn't using ExtensionIdentifier.toKey

image
image

This adopts the AuthenticationQueryService in:
1. Manage Trusted Extensions quick pick
2. An MCP server's Quick Pick (shows Sign Out or Disconnect account)
3. An MCP server's view (shows Sign Out or Disconnect account)
4. Depend on this service instead of some sily map in the MCP Registry
5. Have the `AuthenticationAccessService` own looking at the product.json so that implementers don't need to know about it

This also contains a number of squashed bugs...

1. We were not cleaning up storage state when an extension or mcp server was uninstalled
2. The Extension Access service wasn't using `ExtensionIdentifier.toKey`
@TylerLeonhardt TylerLeonhardt self-assigned this Jun 25, 2025
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) June 25, 2025 21:48
@vs-code-engineering vs-code-engineering bot added this to the June 2025 milestone Jun 25, 2025
@TylerLeonhardt TylerLeonhardt merged commit b84b028 into main Jun 25, 2025
8 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/enchanting-kiwi branch June 25, 2025 22:44
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

Successfully merging this pull request may close these issues.

2 participants