Fix OAuth navigation from sandboxed Space iframe

#12
by DineshAI - opened
ICML 2026 Agent Reproductions org

The Hugging Face Space iframe does not grant top-navigation permission, so target="_top" clicks are blocked before /oauth-login is requested.

Open login in a sandbox-permitted top-level tab, keep logout in the current context, and assert both navigation targets. Also run the frontend asset test with the Spaces SSR environment enabled.

ICML 2026 Agent Reproductions org

Reproduced against the live Space iframe; targeted tests pass and the PR applies cleanly to current main.

DineshAI changed pull request status to open
ICML 2026 Agent Reproductions org

Thanks!

nielsr changed pull request status to merged

Sign up or log in to comment