Skip to content

fix: forward browser auth options in createMcpConnection#8

Open
zenyr wants to merge 2 commits intokriasoft:mainfrom
zenyr:fix/store-key
Open

fix: forward browser auth options in createMcpConnection#8
zenyr wants to merge 2 commits intokriasoft:mainfrom
zenyr:fix/store-key

Conversation

@zenyr
Copy link
Copy Markdown

@zenyr zenyr commented Mar 21, 2026

Summary

  • forward the full BrowserAuthOptions set from createMcpConnection() to browserAuth()
  • preserve existing browser auth defaults while honoring caller-provided overrides such as storeKey
  • add regression tests for option passthrough and default preservation

Why

createMcpConnection() was only forwarding a subset of browser auth options, so some caller-provided auth configuration was silently ignored. This could cause token storage and other browser auth behavior to fall back to defaults instead of using the caller's configuration.

Validation

  • bun run validate

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