Skip to content

Conversation

@cliffhall
Copy link
Member

Summary

Include the authProvider param of transportOptions for sse and streamableHttp transports. This should help the transport code that handles a 401 extract the WWW-Authenticate header information and find the resource_metadata param if present.

Screenshot 2025-11-19 at 4 46 59 PM

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Refactoring (no functional changes)
  • Test updates
  • Build/CI improvements

Changes Made

  • In useConnection.ts
    • in connect()
      • Pass authProvider in transport options

Related Issues

#576

Testing

  • Tested in UI mode
  • Tested in CLI mode
  • Tested with STDIO transport
  • Tested with SSE transport
  • Tested with Streamable HTTP transport
  • Added/updated automated tests
  • Manual testing performed

Test Results and/or Instructions

Screenshots are encouraged to share your testing results for this change.

Checklist

  • Code follows the style guidelines (ran npm run prettier-fix)
  • Self-review completed
  • Code is commented where necessary
  • Documentation updated (README, comments, etc.)

Breaking Changes

Additional Context

  - in connect()
    - Pass authProvider in transport options
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.

1 participant