Glen Maddern
a6e6d0f1e8
Refactor auth coordination to be lazy
...
- Create lazy auth coordinator that only initializes when needed
- Modify connectToRemoteServer to only use auth when receiving an Unauthorized error
- Update client.ts and proxy.ts to use the lazy auth approach
- Add refactoring plan documentation
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-17 16:13:41 +10:00
Glen Maddern
14109a309f
Able to catch exceptions from one transport and fall back to the other
2025-04-17 16:04:50 +10:00
Glen Maddern
0bf84d5d22
wip, client now using the util with fallback
2025-04-17 12:26:47 +10:00
Glen Maddern
c542f78288
removing --clean flag as it sent things into a reauth loop
2025-04-11 04:48:19 +01:00
Glen Maddern
a3b4906afd
Added --header CLI args support
...
This can include ${ENV_VAR} strings that are replaced with the values in process.env
2025-04-10 11:27:25 +10:00
Glen Maddern
d5f5b31786
Added a wait for the token exchange
2025-03-31 22:28:10 +11:00
Glen Maddern
9fbba0509c
Changing to returning a boolean, but tokens still not being loaded
2025-03-31 21:16:21 +11:00
Glen Maddern
412b5d9486
most of the implementation looking ok but sharing the token the wrong way
2025-03-31 19:39:40 +11:00
Glen Maddern
1382827ebd
Versioning storage based on mcp-auth version number to let us iterate on storage format
2025-03-31 16:21:34 +11:00
Glen Maddern
027007030e
adding the --clean flag
2025-03-31 15:35:30 +11:00
Glen Maddern
1dd99edc0d
breaking shared apart
2025-03-31 15:35:29 +11:00
Glen Maddern
d41e92812f
moving things around now that /react is moving to use-mcp
2025-03-31 15:33:59 +11:00
Glen Maddern
eca1e45363
Gearing up for Claude to write this react hook
2025-03-22 21:46:33 +11:00
Glen Maddern
cb322d877d
Ported v0.0.4 from mcp-remote-examples
2025-03-20 11:11:45 +11:00