codesandbox / codesandbox-client

An online IDE for rapid web development
https://codesandbox.io
Other
13.02k stars 2.27k forks source link

VS Code Extension {"errors":{"detail":["Account creation is restricted to codesandbox.io email addresses"]}} #8311

Open jarrodhroberson opened 7 months ago

jarrodhroberson commented 7 months ago

🐛 bug report

Preflight Checklist

Description of the problem

Can not login to Codesandbox.io from the VS Code extension.

How has this issue affected you? What are you trying to accomplish?

Can not use VS Code so I can not try out your service to determine if I want to pay for it.

To Reproduce

Click on "Sign In to CodeSandbox" from VS Code extension, then click "login with Github" or "login with Google" and it gives the following error on a white page.

{"errors":{"detail":["Account creation is restricted to codesandbox.io email addresses"]}}

Your Environment

VS Code
Version: 1.85.2 (user setup)
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
Date: 2024-01-18T06:40:10.514Z
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

Login VS Code extension

CodeSandbox Login Screen

Error Screen (same for GitHub and Google

CompuIves commented 7 months ago

Hey! This is very interesting, it looks like you're connecting to our staging API. Could you check what this setting is saying in VSCode settings?

Screenshot 2024-01-31 at 10 04 09