Fix OAuth navigation from sandboxed Space iframe
#12
by DineshAI - opened
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.
Reproduced against the live Space iframe; targeted tests pass and the PR applies cleanly to current main.
DineshAI changed pull request status to open
Thanks!
nielsr changed pull request status to merged