mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
The MCP OAuth callback fails with invalid_state because the authorization state is cleared/missing by the time the user authorizes — but clearState was silent, so the clobber never surfaced in logs. Log every state save and clear with a caller context so the exact source is visible on the next repro.