codesandbox / codesandbox/codesandbox-client
Integration with vercel does not work
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
💥 Crash Report
What were you trying to accomplish when the crash occurred?
Please use this issue template to describe what you were doing when you encountered this crash. While we are able to fill in some details automatically, it's not always enough to reproduce!
Link to sandbox: [link]() (optional)
Crash Details
Environment
| Browser | Version | Operating System | CodeSandbox Version |
|---|---|---|---|
| chrome | 99.0.4844 | Linux x86_64 | 0aa5beeaf |
Error Code:
e3ed3c5da02648608ccaa65aa92e245e
Error Message
SecurityError: Blocked a frame with origin "https://codesandbox.io" from accessing a cross-origin frame.
Error: Blocked a frame with origin "https://codesandbox.io" from accessing a cross-origin frame.
at new n (https://codesandbox.io/static/js/page-sign-in.ff806d259.chunk.js?_sw-precache=40e205143134d6a3095caf5c52beec79:1:8097)
at ki (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1781255)
at Ya (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1798138)
at xs (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1836093)
at ml (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1820397)
at hl (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1820322)
at il (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1817650)
at https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775833
at t.unstable_runWithPriority (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1851169)
at qo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775542)
at Xo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775778)
at Yo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775713)
at el (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1814436)
at Object.enqueueSetState (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1780537)
at o._.setState (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:2034189)
at https://codesandbox.io/static/js/default~app~embed.27f22cef3.chunk.js?_sw-precache=4ca1825b803dca75c55b25ba20f62065:477:144893
in n
in o
in t
in t
in div
in elements__Content
in n
in withRouter(n)
in div
in elements__Container
in Unknown
in withRouter()
in t
in Unknown
in De
in c
in t
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report identifies the sign-in route and a cross-origin SecurityError in the generated page-sign-in, common, and defaultappembed JavaScript bundles. Start by reproducing the Vercel integration sign-in flow and tracing the corresponding source code behind that error. Done means the flow no longer crashes when the embedded frame has a different origin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100