You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show OAuth auth response bodies in Network tab, with sensitive-field masking + reveal toggle #1386
auth-category Network entries show request body, headers, and status, but no response body (renders (empty) even when content-length says otherwise). This is deliberate today — buildEffectiveAuthFetch (core/mcp/inspectorClient.ts) does not wire updateResponseBody to avoid surfacing access_token/refresh_token in the body preview (screen-share leak). But it means the OAuth token-exchange response (the most useful thing to inspect when debugging auth) is never visible.
Change
Capture auth response bodies and display them, but mask sensitive OAuth fields by default behind a click-to-reveal toggle:
buildEffectiveAuthFetch — wire updateResponseBody so auth response bodies are captured (mirrors the transport fetcher).
New maskSecretsInBody util — masks access_token, refresh_token, id_token, client_secret values in JSON bodies; returns whether anything was masked.
NetworkEntry's BodyPreview — when a body contains masked fields, render it masked with a "Reveal"/"Hide" toggle. Copy honors the current (masked vs raw) view.
Activity
feat(network): address #1387 review — form-encoded masking, cleaner f…
refactor(network): address #1387 third-pass review — content-type mas…
test(network): address #1387 fourth-pass nits — content-type contract…
perf(network): address #1387 fifth-pass — memoize masking, mask DCR m…
docs(network): clarify body-update emits list event only (#1387 sixth…
feat(network): show auth response bodies with masked secrets + reveal…