3

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?

Lauren Yim
  • 12,700
  • 2
  • 32
  • 59
Vineeta Prasad
  • 31
  • 1
  • 1
  • 2

1 Answers1

6

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.
HamiltonPharmD
  • 582
  • 3
  • 19
  • Thank you for trying. Do you have any additional information to share? Was there a specific step you got stuck on? – HamiltonPharmD Sep 02 '20 at 14:33
  • 1
    Yeah actually it resolved now thank you. It was browser issue. In default some other browser was selected which I don't use just change the browser to google chrome and now it is working perfectly. – Vineeta Prasad Sep 03 '20 at 06:32