Solution for VScode unable to log in LeetCode
It may be that the account is not set to the Chinese terminal.
After the LeetCode plug-in is installed and the Node environment variables are configured correctly, you should log in to LeetCode first.
Check whether you need to set the account terminal location before logging in:
Click on the plugin management to enter the Extension Settings of the LeetCode plugin.
Find the following options, set to the end of cn as shown in the figure.
Then log in again (you may need to restart VScode)