code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Allow login with token similar to jupyter notebook server

Open benjaminum opened this issue 1 year ago • 1 comments

What is your suggestion?

Simplify the login procedure by allowing to pass the session password in the url to get similar behavior as clicking on a jupyter link of the form

Jupyter Server 2.12.5 is running at:
    http://localhost:8888/lab?token=fbf7cc58bbd90a9f172490f5c57201e03ca967efe424090c872b3218110f29fa

Why do you want this feature?

It streamlines the sign in procedure.

Are there any workarounds to get this functionality today?

--auth none is a workaround but is not secure if there are multiple people working on the same node

Are you interested in submitting a PR for this?

Yes

benjaminum avatar Mar 30 '24 06:03 benjaminum

Related (kind of a duplicate, but PR's implementation is different): https://github.com/coder/code-server/issues/5819

code-asher avatar Apr 02 '24 00:04 code-asher

Going to go ahead and close as a duplicate and reword the other issue a bit.

code-asher avatar Jul 12 '24 00:07 code-asher