How do I get a security token? #249
-
Hello OpenVSCode developers, Somewhere in the coming weeks I want to try out OpenVSCode and in preparation I read the documenation. I do not completely understand the text below
Okay, I understand this: I need some kind of security token.
Okay, the same as above.
I don't care if the token is generated or that I have to create one myself as long as I can run the application. Questions that arises:
This is clear. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi there, @Verhoeckx, I am glad that you asked these questions, seems like the docs perhaps need a bit of a refresh.
|
Beta Was this translation helpful? Give feedback.
-
When I try to run the container like so:
or
I get
What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Hi there, @Verhoeckx, I am glad that you asked these questions, seems like the docs perhaps need a bit of a refresh.
The tokens are generated as a random UUID (if you want to explore the format, you can see some examples and the RegExp for them here), they are printed as a query parameter inside of the terminal when starting the server
If you want to use your own token, as you mentioned you provide it with
--connection-token=YOUR_DESIRED_TOKEN
. This can be any string, just make sure to put it inside''
if it has spaces in it.