We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SESSION_TOKEN
1 parent 1a62c60 commit 03aa37bCopy full SHA for 03aa37b
registry/coder/modules/vscode-desktop-core/main.tf
@@ -80,6 +80,8 @@ resource "coder_app" "vscode-desktop" {
80
var.folder != "" ? join("", ["&folder=", var.folder]) : "",
81
var.open_recent ? "&openRecent" : "",
82
"&url=${data.coder_workspace.me.access_url}",
83
+ # NOTE: There is a protocol whitelist for the token replacement, so this will only work with the protocols hardcoded in the front-end.
84
+ # (https://github.com/coder/coder/blob/6ba4b5bbc95e2e528d7f5b1e31fffa200ae1a6db/site/src/modules/apps/apps.ts#L18)
85
"&token=$SESSION_TOKEN",
86
])
87
}
0 commit comments