René's URL Explorer Experiment


Title: `auth` specification in `ClientSessionGroup` · Issue #1723 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: `auth` specification in `ClientSessionGroup` · Issue #1723 · modelcontextprotocol/python-sdk

X Title: `auth` specification in `ClientSessionGroup` · Issue #1723 · modelcontextprotocol/python-sdk

Description: Description It would be nice for the ClientSessionGroup to be OAuth compatible by allowing us to specify the OAuth httpx.Auth provider when passing in the ServerParameters rather than passing the bearer tokens manually via the headers fi...

Open Graph Description: Description It would be nice for the ClientSessionGroup to be OAuth compatible by allowing us to specify the OAuth httpx.Auth provider when passing in the ServerParameters rather than passing the b...

X Description: Description It would be nice for the ClientSessionGroup to be OAuth compatible by allowing us to specify the OAuth httpx.Auth provider when passing in the ServerParameters rather than passing the b...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/1723

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`auth` specification in `ClientSessionGroup`","articleBody":"### Description\n\nIt would be nice for the `ClientSessionGroup` to be OAuth compatible by allowing us to specify the OAuth `httpx.Auth` provider when passing in the `ServerParameters` rather than passing the bearer tokens manually via the `headers` field. This will allow us to do the OAuth token exchange flow straight from the `ClientSessionGroup`.\n\n### References\n\nHere is the singleton `ClientSession` example of an OAuth flow: https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-auth-client/mcp_simple_auth_client/main.py\n\nIt would be nice to have an example of a `ClientSessionGroup` using that same flow.","author":{"url":"https://github.com/erwang01","@type":"Person","name":"erwang01"},"datePublished":"2025-12-04T20:05:12Z","url":"https://github.com/modelcontextprotocol/python-sdk/issues/1723"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0868dd07-fc7d-276a-4664-3e109703ccad
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD5C6:14ECB:12E0981:17F973C:6B012190
html-safe-noncecdcb7be52895db447e76c6224bea9d1c460a27900b6806a8ea1b0a6ccb5b1f4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUM2OjE0RUNCOjEyRTA5ODE6MTdGOTczQzo2QjAxMjE5MCIsInZpc2l0b3JfaWQiOiI3ODYwMzM3ODI2MjI5OTg1NjgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacadb753866c1501331d1527b4d4dbddb76c3d703b4482887a94c93438220c54b2
hovercard-subject-tagissue:3696328455
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/1723/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5a0bf02245b7a47999085c47c6a7a6292784b55b02d6242c3e6b621cd04436f5/modelcontextprotocol/python-sdk/issues/1723
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a0bf02245b7a47999085c47c6a7a6292784b55b02d6242c3e6b621cd04436f5/modelcontextprotocol/python-sdk/issues/1723
og:image:altDescription It would be nice for the ClientSessionGroup to be OAuth compatible by allowing us to specify the OAuth httpx.Auth provider when passing in the ServerParameters rather than passing the b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameerwang01
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/issues/1723#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2F1723
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%2Fissues%2F1723
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/issues/1723
Reloadhttps://github.com/modelcontextprotocol/python-sdk/issues/1723
Reloadhttps://github.com/modelcontextprotocol/python-sdk/issues/1723
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues310 (310)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
New issuehttps://github.com/login?return_to=https://github.com/modelcontextprotocol/python-sdk/issues/1723
New issuehttps://github.com/login?return_to=https://github.com/modelcontextprotocol/python-sdk/issues/1723
auth specification in ClientSessionGrouphttps://github.com/modelcontextprotocol/python-sdk/issues/1723#top
#3840https://github.com/modelcontextprotocol/python-sdk/pull/3840
P2Moderate issues affecting some users, edge cases, potentially valuable featurehttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22P2%22
authIssues and PRs related to Authentication / OAuthhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22auth%22
enhancementRequest for a new feature that's not currently supportedhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22enhancement%22
help wantedContributions especially welcomehttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
needs decisionIssue is actionable, needs maintainer decision on whether to implementhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20decision%22
https://github.com/erwang01
erwang01https://github.com/erwang01
on Dec 4, 2025https://github.com/modelcontextprotocol/python-sdk/issues/1723#issue-3696328455
https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-auth-client/mcp_simple_auth_client/main.pyhttps://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-auth-client/mcp_simple_auth_client/main.py
felixweinbergerhttps://github.com/felixweinberger
enhancementRequest for a new feature that's not currently supportedhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22enhancement%22
authIssues and PRs related to Authentication / OAuthhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22auth%22
needs confirmationNeeds confirmation that the PR is actually required or needed.https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20confirmation%22
on Dec 9, 2025https://github.com/modelcontextprotocol/python-sdk/issues/1723#event-21448123834
maxisbeyhttps://github.com/maxisbey
ready for workEnough information for someone to start working onhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22ready%20for%20work%22
P2Moderate issues affecting some users, edge cases, potentially valuable featurehttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22P2%22
help wantedContributions especially welcomehttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
needs confirmationNeeds confirmation that the PR is actually required or needed.https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20confirmation%22
on Dec 10, 2025https://github.com/modelcontextprotocol/python-sdk/issues/1723#event-21483908389
https://github.com/the-ayyi
the-ayyihttps://github.com/the-ayyi
on Dec 19, 2025https://github.com/modelcontextprotocol/python-sdk/issues/1723#issuecomment-3674192678
@maxisbeyhttps://github.com/maxisbey
https://github.com/IT-HONGREAT
IT-HONGREAThttps://github.com/IT-HONGREAT
on Feb 14, 2026https://github.com/modelcontextprotocol/python-sdk/issues/1723#issuecomment-3902052873
@maxisbeyhttps://github.com/maxisbey
IT-HONGREAThttps://github.com/IT-HONGREAT
on Feb 14, 2026https://github.com/modelcontextprotocol/python-sdk/issues/1723#event-22791641447
feat: add auth parameter to ClientSessionGroup server parametershttps://github.com/IT-HONGREAT/python-sdk/commit/f73a9c5dec814cf89ed717450915d949f7d8a379
f73a9c5https://github.com/IT-HONGREAT/python-sdk/commit/f73a9c5dec814cf89ed717450915d949f7d8a379
feat: add auth parameter to ClientSessionGroup server parametershttps://github.com/IT-HONGREAT/python-sdk/commit/1711ad6c68daf3c63e6abf278bfda32775f1af61
1711ad6https://github.com/IT-HONGREAT/python-sdk/commit/1711ad6c68daf3c63e6abf278bfda32775f1af61
feat: add auth parameter to ClientSessionGroup server parametershttps://github.com/IT-HONGREAT/python-sdk/commit/2eb40b1c5d110f42b06210507e7a5c62f01fe750
2eb40b1https://github.com/IT-HONGREAT/python-sdk/commit/2eb40b1c5d110f42b06210507e7a5c62f01fe750
felixweinbergerhttps://github.com/felixweinberger
needs decisionIssue is actionable, needs maintainer decision on whether to implementhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20decision%22
ready for workEnough information for someone to start working onhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22ready%20for%20work%22
on Apr 17, 2026https://github.com/modelcontextprotocol/python-sdk/issues/1723#event-24601799356
https://github.com/musi22
musi22https://github.com/musi22
on Sep 17, 2026https://github.com/modelcontextprotocol/python-sdk/issues/1723#issuecomment-5712716480
https://github.com/Mohammedib24
Mohammedib24https://github.com/Mohammedib24
on Sep 19, 2026https://github.com/modelcontextprotocol/python-sdk/issues/1723#issuecomment-5745550127
https://github.com/AngelaJP
AngelaJPhttps://github.com/AngelaJP
on Nov 15, 2026https://github.com/modelcontextprotocol/python-sdk/issues/1723#issuecomment-6897665059
#2847https://github.com/modelcontextprotocol/python-sdk/issues/2847
#3840https://github.com/modelcontextprotocol/python-sdk/pull/3840
Sign up for freehttps://github.com/signup?return_to=https://github.com/modelcontextprotocol/python-sdk/issues/1723
Sign in to commenthttps://github.com/login?return_to=https://github.com/modelcontextprotocol/python-sdk/issues/1723
P2Moderate issues affecting some users, edge cases, potentially valuable featurehttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22P2%22
authIssues and PRs related to Authentication / OAuthhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22auth%22
enhancementRequest for a new feature that's not currently supportedhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22enhancement%22
help wantedContributions especially welcomehttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
needs decisionIssue is actionable, needs maintainer decision on whether to implementhttps://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20decision%22
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.