Google Chrome not redirecting to VScode after authorizing with Github

Viewed 2875

The application “Google Chrome” does not have permission to open “vscode://vscode.github-authentication/did-authenticate?windowid=3&code=xxxxxxxxx&state=xxxxx-xxx-xx-xx-xx.”

macOS Catalina 10.15.7

Tried copy pasting the code in the address bar, did not work. Also tried with "Github Pull Requests and Issues" installed on VScode, still did not work.

5 Answers

If that doesn't work, just go to desktop.github.com and download and install GitHub in your pc.
This will pave way for faster GitHub connectivity.

Make sure your VSCode application is not placed on ~/Downloads or ~/Documents folder. Move it to /Applications directory.

If you're getting this error, try entering vscode from the terminal first.

If you still get an error while entering from the terminal, "shell-command-install-with-comment" in vscode

Solution: I updated my Chrome browser (for MacOS) and it worked!

Updated VS Code to the latest version of VS Code (1.66+)

"We've made some updates to our authentication process for VS Code and GitHub."

and then updating Chrome as well fixed the issue.

Thanks

Related