Skip to content

Fix: Bump mcp-oauth to v0.2.86 for Dex scope filtering#515

Merged
teemow merged 1 commit intomainfrom
fix/issue-513-dex-scope-filtering
Mar 17, 2026
Merged

Fix: Bump mcp-oauth to v0.2.86 for Dex scope filtering#515
teemow merged 1 commit intomainfrom
fix/issue-513-dex-scope-filtering

Conversation

@teemow
Copy link
Member

@teemow teemow commented Mar 17, 2026

Summary

  • Bumps mcp-oauth from v0.2.84 to v0.2.86 which adds filterDexScopes() to strip non-standard client scopes (e.g., claudeai from Claude) before forwarding to Dex, preventing invalid_scope errors.
  • This mirrors the existing filterGoogleScopes() pattern that was added in v0.2.84 for the Google provider.

Closes #513

Upstream: giantswarm/mcp-oauth#245 (implemented in giantswarm/mcp-oauth#246)

Test plan

  • Verify all unit tests pass (make test)
  • Deploy to gazelle and test OAuth flow with Claude (which sends claudeai scope)
  • Verify Cursor (which doesn't send non-standard scopes) still works

Made with Cursor

@teemow teemow requested a review from a team as a code owner March 17, 2026 14:19
The Dex provider now strips non-standard client scopes (e.g. "claudeai"
from Claude) before forwarding to Dex, preventing invalid_scope errors.
This mirrors the existing filterGoogleScopes() pattern.

Test scenarios updated to remove mcp:admin scope from SSO server configs
since Dex tokens don't carry custom application scopes.

Made-with: Cursor
@teemow teemow force-pushed the fix/issue-513-dex-scope-filtering branch from 3d65a3f to df9b158 Compare March 17, 2026 14:35
@teemow teemow merged commit d83ad53 into main Mar 17, 2026
6 of 7 checks passed
@teemow teemow deleted the fix/issue-513-dex-scope-filtering branch March 17, 2026 14:40
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.

Fix OIDC scope handling for multi-provider compatibility

1 participant