I'm unable to login in Visual Studio Code to Live Share

20.6k Views Asked by At

Whenever I try to Live Share in Visual Studio Code it asks to login with either Microsoft or GitHub, but both of them are unable to open in a new window. I'm unable to login because of that.

screenshot of login issue

How can I login using GitHub to Live Share in VSCode?

1

There are 1 best solutions below

3
HamiltonPharmD On

Per the Microsoft docs you can sign in with a "User Code" as a workaround:

  1. Ensure you have the latest versions of VS Code and the Live Share Extension installed.
  2. Press Ctrl+Shift+P or Cmd+Shift+P and run the "Live Share: Sign in with user code" command.
  3. If the browser still does not appear, open the below link in your browser and sign in. https://insiders.liveshare.vsengsaas.visualstudio.com/auth/login
  4. Once you are done, click "Having trouble? Click here for user code directions" to see the user code.
  5. Copy the user code.
  6. Paste the user code into the input field that appeared when you ran the "Live Share: Sign in with user code" command and press enter to complete the sign-in process.