Files
sim/apps
Waleed 4d76385915 improvement(mcp): trace OAuth state writes to diagnose invalid_state clobber (#5772)
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.
2026-07-20 11:51:09 -07:00
..