'Google Chrome not redirecting to VScode after authorizing with Github

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.



Solution 1:[1]

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

Solution 2:[2]

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. ?

Solution 3:[3]

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 4:[4]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Abraham Bisrat
Solution 2 Sajed
Solution 3 Akman
Solution 4 Shahzad Rasul