[auth]: support oauth client_secret_basic / none / custom methods by ochafik · Pull Request #720 · modelcontextprotocol/typescript-sdk

and others added 19 commits

May 21, 2025 19:14
… during authorization code exchange.
… during refresh token exchange.
… refreshAuthorization to maintain compatibility.
… into ochafik/auth-merge-531-552
…ods' into ochafik/auth-merge-531-552
The applyBasicAuth function was incorrectly trying to set headers using
array notation on a Headers object. Fixed by using the proper Headers.set()
method instead of treating it as a plain object.

This ensures that HTTP Basic authentication works correctly when
client_secret_basic is the selected authentication method.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

This was referenced

Jul 1, 2025

SightStudio

@ochafik

@ochafik

@ochafik ochafik marked this pull request as ready for review

July 7, 2025 12:32

@ochafik

felixweinberger

@ochafik

ochafik

@ochafik ochafik deleted the ochafik/auth-merge-531-552 branch

July 9, 2025 17:31