I struggled for sometime because the built-in github authentication extension was disabled for me. As a result, I wasn't being redirected to github login.
After adding authTye as github and enabling the github authentication extension, I was able to login via web and use copilot on my visual studio installation in Ubuntu.