codesandbox / codesandbox/codesandbox-client
Sign-in through Github to codesandbox project on mobile not working, it is redirecting to localhost:3000 instead of Github auth.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🐛 bug report
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project
adheres to. - I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
I have a next.js app running in codesandbox.io, when i try to login from mobile (Samsung and brave browser) and use github for login it is redirecting to localhost:3000 instead of github auth.
Url: https://36v6xt-3002.csb.app/.
502
It looks like the dev server has not been started yet. [Start from the editor ↗](https://codesandbox.io/p/redirect-to-project-editor/36v6xt)
When i click on link to start the editor in mobile, it is redirecting to localhost:3000
Note: this issue is happening from mobile only.
Made - Samsung
OS - Android - 13
Browser - Brave - 1.57.62
How has this issue affected you? What are you trying to accomplish?
Not able to login to my sandbox from mobile browser.
To Reproduce
Link to sandbox: [link](https://36v6xt-3002.csb.app/) (optional)
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | latest |
| Browser | Mobile app - Brave (1.57.62) |
| Operating System | Mobile OS - Android-13 |
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
Start by reproducing the sign-in flow from the linked sandbox URL using Android 13 and Brave, then trace where the mobile redirect is sent to localhost:3000 instead of GitHub authentication. Done means the GitHub login flow opens correctly on mobile and returns the user to the sandbox without the localhost redirect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, javascript, next.js
- Domain
- authentication, mobile-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100