google-tasks-vscode-extension
google-tasks-vscode-extension copied to clipboard
Auth not working when connected with the Remote-SSH extension
For details about the auth error see #3
- I think the extension should run locally (and not on the remote machine)
- a simple fix would be copying the local token to the remote machine (see below)
I made a workaround by getting the token on my local machine and copying the token file to the remote one (win --> linux)
%USERPROFILE%\.vscode\extensions\krishnapravin.google-tasks-0.1.5\resources\token.json
to
~/.vscode-server/extensions/krishnapravin.google-tasks-0.1.5/resources/token.json
@tonyo96 thank you for letting me know the fix. Initially, I did not consider making the extension to run in a remote machine. I will try to add this functionality.
I experienced this as well.
To "fix" it, I SSH'ed into my server and ran:
curl http://localhost:11223/?code=4/$MYCODE&scope=https://www.googleapis.com/auth/tasks
And it worked!
VS Code is working on Auth API. When it is out the whole auth process might change. https://github.com/microsoft/vscode/issues/88309
But until then to fix the login issue for VS Code running in remote machines, a PR would be really helpful.