René's URL Explorer Experiment


Title: Add AuthSettings.validate_token_resource to check a bearer token's resource by maxisbey · Pull Request #3447 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add AuthSettings.validate_token_resource to check a bearer token's resource by maxisbey · Pull Request #3447 · modelcontextprotocol/python-sdk

X Title: Add AuthSettings.validate_token_resource to check a bearer token's resource by maxisbey · Pull Request #3447 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add AuthSettings.validate_token_resource to check a bearer token's resource by maxisbey · Pull Request #3447 · modelcontextprotocol/python-sdk

Open Graph Description: Adds an opt-in AuthSettings.validate_token_resource. When set, the bearer gate only accepts a token that the TokenVerifier reports as issued for resource_server_url (via AccessToken.resource); a to...

X Description: Adds an opt-in AuthSettings.validate_token_resource. When set, the bearer gate only accepts a token that the TokenVerifier reports as issued for resource_server_url (via AccessToken.resource); a to...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3447

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:94883001-0eee-0b8c-130e-e59c63404737
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idE706:1EC9BC:5BCD61:76F0E7:6B00DDB5
html-safe-nonceb5fe54880347e36b42592530cd60365e277c4b6cc59e2497336c16e56d29f5cc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzA2OjFFQzlCQzo1QkNENjE6NzZGMEU3OjZCMDBEREI1IiwidmlzaXRvcl9pZCI6IjEzMzc0MjkzNzMxNzYxNTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7a23532f89659200a941207f5070cf5608f5191297562efe22b6907816f35248
hovercard-subject-tagpull_request:4447459768
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3447/checks
twitter:imagehttps://opengraph.githubassets.com/24c9dbb49117f802b05ce8b77479707e8e2e9105d0c84e470a65874d04d1a10e/modelcontextprotocol/python-sdk/pull/3447
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/24c9dbb49117f802b05ce8b77479707e8e2e9105d0c84e470a65874d04d1a10e/modelcontextprotocol/python-sdk/pull/3447
og:image:altAdds an opt-in AuthSettings.validate_token_resource. When set, the bearer gate only accepts a token that the TokenVerifier reports as issued for resource_server_url (via AccessToken.resource); a to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3447/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3447%2Fchecks
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3447%2Fchecks
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3447/checks
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3447/checks
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3447/checks
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues308 (308)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
https://github.com/modelcontextprotocol/python-sdk
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
bearer-resource-checkhttps://github.com/modelcontextprotocol/python-sdk/tree/bearer-resource-check
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/3447
Commits5 (5)https://github.com/modelcontextprotocol/python-sdk/pull/3447/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/3447/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/3447/files
Add AuthSettings.validate_token_resource to check a bearer token's resourcehttps://github.com/modelcontextprotocol/python-sdk/pull/3447/checks#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
bearer-resource-checkhttps://github.com/modelcontextprotocol/python-sdk/tree/bearer-resource-check
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3447/checks
Claude Code Review https://github.com/modelcontextprotocol/python-sdk/pull/3447/checks?check_run_id=101231971008
cubic · AI code reviewer https://github.com/modelcontextprotocol/python-sdk/pull/3447/checks?check_run_id=101231996111
CodeQL on: dynamic https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938809787
Analyze (actions) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938809787/job/101231972231?pr=3447
Analyze (python) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938809787/job/101231972360?pr=3447
Docs Preview on: pull_request_target https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938810298
authorize https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938810298/job/101231972060?pr=3447
build https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938810298/job/101231992241?pr=3447
deploy https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938810298/job/101232225321?pr=3447
comment https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938810298/job/101232283081?pr=3447
GitHub Actions Security Analysis on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811050
zizmor https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811050/job/101231973988?pr=3447
Conformance Tests on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811080
server-conformance https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811080/job/101231974549?pr=3447
client-conformance https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811080/job/101231974452?pr=3447
CI on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170
checks / pre-commit https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974744?pr=3447
checks / test (3.10, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974896?pr=3447
checks / test (3.10, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231975047?pr=3447
checks / test (3.10, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974934?pr=3447
checks / test (3.10, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974925?pr=3447
checks / test (3.11, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974915?pr=3447
checks / test (3.11, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974955?pr=3447
checks / test (3.11, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974979?pr=3447
checks / test (3.11, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974935?pr=3447
checks / test (3.12, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974990?pr=3447
checks / test (3.12, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974942?pr=3447
checks / test (3.12, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974964?pr=3447
checks / test (3.12, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974961?pr=3447
checks / test (3.13, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231975061?pr=3447
checks / test (3.13, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231975052?pr=3447
checks / test (3.13, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974984?pr=3447
checks / test (3.13, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974966?pr=3447
checks / test (3.14, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974997?pr=3447
checks / test (3.14, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231975010?pr=3447
checks / test (3.14, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974993?pr=3447
checks / test (3.14, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974936?pr=3447
checks / readme-snippets https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231975001?pr=3447
checks / docs https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101231974881?pr=3447
all-green https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938811170/job/101232285618?pr=3447
CodeQL https://github.com/modelcontextprotocol/python-sdk/pull/3447/checks?check_run_id=101232042622
zizmor https://github.com/modelcontextprotocol/python-sdk/pull/3447/checks?check_run_id=101232000306
Require Linked Issue on: pull_request_target https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938821003
Evaluate https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938821003/job/101232002757?pr=3447
Claude Code on: pull_request_review https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938824175
claude https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938824175/job/101232013294?pr=3447
Claude Code on: pull_request_review https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938825234
claude https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938825234/job/101232016848?pr=3447
Claude Code on: pull_request_review https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938924961
claude https://github.com/modelcontextprotocol/python-sdk/actions/runs/33938924961/job/101232310675?pr=3447
Docs Preview Cleanup on: pull_request_target https://github.com/modelcontextprotocol/python-sdk/actions/runs/33939529195
cleanup https://github.com/modelcontextprotocol/python-sdk/actions/runs/33939529195/job/101234084326?pr=3447
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.