If you installed the Windsurf Plugin in Visual Studio Code recently and tried to login to the AI code completion service, it would redirect to a web site with no apparent means to authenticate the plugin. I found a workaround to generate the authentication token for VSCode from the Windsurf Neocodeium Github at https://github.com/monkoose/neocodeium.
The following steps are what I did to authenticate the plugin:
- In VSCode, install the Windsurf Plugin and tap the Login to Windsurf button.
The prompt may appear
- Tap Open and the browser will redirect to the Windsurf web site.
- If necessary, log into your account.
- In the browser, enter the following URL https://windsurf.com/enterprise/account/login?redirect_uri=vim-show-auth-token
The authentication token is generated.
- Copy the token into the clipboard.
- In VSCode, press CTRL-SHIFT-p to open the command prompt.

- In the prompt, type in Windsurf provide authentication token and press ENTER.
The command prompt appears
- Paste in the generated token into the prompt. Press ENTER.
If all goes well, the message Successfully logged in appears.
- You should now be able to use the AI code completion in VSCode.
