-
Notifications
You must be signed in to change notification settings - Fork 989
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: modelcontextprotocol/typescript-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: modelcontextprotocol/typescript-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ochafik/auth-prm-check
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 3 files changed
- 2 contributors
Commits on Jun 17, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5b63dd6 - Browse repository at this point
Copy the full SHA 5b63dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb23147 - Browse repository at this point
Copy the full SHA bb23147View commit details -
test: add comprehensive tests for protocol version propagation and re…
…sourceMetadataUrl functionality This commit adds 21 new comprehensive test cases to verify the OAuth authentication enhancements from commit bb23147, covering: 1. Protocol Version Propagation Tests: - Custom protocol version headers in protected resource metadata discovery - Custom protocol version headers in OAuth metadata discovery - Default protocol version usage when not specified - CORS fallback behavior with protocol versions - Protocol version propagation through full auth flow 2. Custom Resource Metadata URL Tests: - Custom URL routing instead of default well-known locations - Custom URLs combined with protocol version headers - Various URL format handling (ports, query params, fragments, localhost) - CORS fallback with custom URLs 3. Integration Tests: - Resource validation working correctly with new parameters - Fallback behavior when metadata fails - Token exchange flow with protocol version propagation - Token refresh flow with protocol version propagation - All parameters working together in complex scenarios 4. Edge Case Tests: - Edge case protocol versions (old dates, future dates, suffixes, empty strings) - Various custom URL formats (ports, query params, fragments, localhost) - Combined CORS fallback scenarios All tests maintain compatibility with existing functionality and ensure no regressions. Fixed duplicate variable declaration issue in auth.ts discovered during testing. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for eec52f5 - Browse repository at this point
Copy the full SHA eec52f5View commit details -
test: simplify resource matching validation tests to bare minimum
Reduced the RFC 9728 resource matching validation test group to only test the core functionality from commit 5b63dd6: - Test for accepting matching resources - Test for rejecting mismatched resources - Test for rejecting missing resource field - Test for fragment canonicalization during comparison Removed extensive edge case testing to focus on the essential validation logic. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for a5cab16 - Browse repository at this point
Copy the full SHA a5cab16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b073bf - Browse repository at this point
Copy the full SHA 7b073bfView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...ochafik/auth-prm-check