You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It used to be possible to open a workspace via vscode:// URI and re-use existing credentials by skipping the &token parameter, like this:
open 'vscode://coder.coder-remote/open?agent=dev&folder=%2Fhome%2Fcoder%2Fcoder&owner=mafredri&url=https%3A%2F%2Fdev.coder.com&workspace=w'
(Note: no token param.) Right now, when I run this I see the following error:
It also erases the token even if it existed previously:
❯ cat Library/Application\ Support/Code/User/globalStorage/coder.coder-remote/dev.coder.com/session_token
cat: Library/Application Support/Code/User/globalStorage/coder.coder-remote/dev.coder.com/session_token: No such file or directory
On the other hand, if I've logged in and explicitly set the token, there is no issue:
open "vscode://coder.coder-remote/open?agent=dev&folder=%2Fhome%2Fcoder%2Fcoder&owner=mafredri&url=https%3A%2F%2Fdev.coder.com&workspace=w&token=$(<Library/Application\ Support/Code/User/globalStorage/coder.coder-remote/dev.coder.com/session_token)"
The text was updated successfully, but these errors were encountered:
It used to be possible to open a workspace via
vscode://
URI and re-use existing credentials by skipping the&token
parameter, like this:open 'vscode://coder.coder-remote/open?agent=dev&folder=%2Fhome%2Fcoder%2Fcoder&owner=mafredri&url=https%3A%2F%2Fdev.coder.com&workspace=w'
(Note: no
token
param.) Right now, when I run this I see the following error:It also erases the token even if it existed previously:
On the other hand, if I've logged in and explicitly set the token, there is no issue:
The text was updated successfully, but these errors were encountered: