Skip to content

Improve scope handling in MCP auth providers #250546

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 3 commits into from
Jun 3, 2025
Merged

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Jun 3, 2025

Basically if the scopes returned do not match what was requested, warn and overwrite.

Also, order doesn't matter so fix that in these dynamic auth providers for now (do core later)

Fixes #250548

Basically if the scopes returned do not match what was requested, warn and overwrite.
@TylerLeonhardt TylerLeonhardt self-assigned this Jun 3, 2025
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) June 3, 2025 18:54
@vs-code-engineering vs-code-engineering bot added this to the May 2025 milestone Jun 3, 2025
@connor4312 connor4312 disabled auto-merge June 3, 2025 20:29
connor4312
connor4312 previously approved these changes Jun 3, 2025
@TylerLeonhardt TylerLeonhardt merged commit b7af00b into main Jun 3, 2025
8 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/empty-manatee branch June 3, 2025 21:15
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jul 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MCP: If the auth server returns scopes when they weren't requested, it fails
3 participants