codesandbox / codesandbox/codesandbox-client

cannot login with github/google

Open
#8,780 0 comments 0 reactions 0 assignees View on GitHub

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 138.0.0 Windows 10 f5d9afd5a

Route:
https://codesandbox.io/signup/4vQiBPQur_wyk2Xjaekic-5FtEHu8rA5xJaPCPB9UNU

Error Code:
8725f0f158fb4f84b743afe95436e373

Error Message
SecurityError: Failed to read a named property 'origin' from 'Location': Blocked a frame with origin "https://codesandbox.io" from accessing a cross-origin frame.
SecurityError: Failed to read a named property 'origin' from 'Location': Blocked a frame with origin "https://codesandbox.io" from accessing a cross-origin frame.
  at hu (https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:387946)
  at Os (https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:412672)
  at https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:430880
  at qo (https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:355607)
  at ws (https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:412435)
  at https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:412346
  at F (https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:430262)
  at MessagePort.<anonymous> (https://codesandbox.io/static/js/common.56083ff0a.chunk.js:1:429006)

  in u
  in Unknown
  in t
  in t
  in div
  in elements__Content
  in Ne
  in withRouter(Ne)
  in div
  in elements__Container
  in Unknown
  in withRouter()
  in t
  in Unknown
  in De
  in c
  in t

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure at the reported /signup/4vQiBPQur_wyk2Xjaekic-5FtEHu8rA5xJaPCPB9UNU route in Chrome on Windows 10, then inspect the stack trace in common.56083ff0a.chunk.js around the reported SecurityError. Done means GitHub and Google login no longer crash and the same route completes login.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.