Pretty straightforward. rstudio-server
is running at, say http://192.68.0.1:8787
. Say the u/p is ruser
/12345
, is it possible to have this pre-filled from a URL?
I tried:
- http://ruser:12345@192.68.0.1:8787
- http://192.68.0.1:8787/?username=ruser&password=12345
- http://192.68.0.1:8787/auth-sign-in?username=ruser&password=12345
None of which appear to have worked.
In terms of security concerns, that's being handled upstream since users will have authenticated on VPN & with 2FA to get to this URL in the first place (it's part of a pod being served on JupyterLab).
Users are all told ruser
and 12345
, it's just a matter of convenience/saving time by having it pre-filled each time they launch the URL. Since the pods die often, there's not much convenience to Stay signed in
since that particular rstudio-server
process doesn't survive.
This is possible in Jupyter
, where part of our Docker setup is to capture the token
and pass it in like /?token=...
to save users the step of keeping track of and entering a new token each time they launch.