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
johnykes
changed the title
CORS error when using password auth and code-server in a localhost iframe
CORS error when displaying code-server in a localhost iframe
Mar 20, 2025
Is there an existing issue for this?
OS/Web Information
code-server --version
: latestSteps to Reproduce
if I deploy the webpage with the same iframe on Vercel or something, it login works, but doesn't work from localhost. Why? That's annoying
Expected
I expect to see the code-server content in the iframe, even if I'm on localhost.
Actual
Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
Yes, this is also broken in native VS Code
Does this bug reproduce in GitHub Codespaces?
Yes, this is also broken in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
Is there any setting for CORS on the code-server?
The text was updated successfully, but these errors were encountered: