Skip to content

Commit 132cf04

Browse files
Update Security Section in the Jupyter Server Documentation (#1505)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2cf8ac5 commit 132cf04

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

docs/source/operators/security.rst

+16-7
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,24 @@ a token is generated to use for authentication.
3030
This token is logged to the terminal, so that you can copy/paste the URL into your browser::
3131

3232
[I 11:59:16.597 ServerApp] The Jupyter Server is running at:
33+
[I 11:59:16.597 ServerApp]
3334
http://localhost:8888/?token=c8de56fa4deed24899803e93c227592aef6538f93025fe01
3435

35-
36-
If the Jupyter server is going to open your browser automatically,
37-
an *additional* token is generated for launching the browser.
38-
This additional token can be used only once,
39-
and is used to set a cookie for your browser once it connects.
40-
After your browser has made its first request with this one-time-token,
41-
the token is discarded and a cookie is set in your browser.
36+
[I 11:59:16.597 ServerApp]
37+
http://127.0.0.1:8888/?token=c8de56fa4deed24899803e93c227592aef6538f93025fe01
38+
39+
[I 11:59:16.597 ServerApp]
40+
To access the server, open this file in a browser:
41+
file:///Users/username/Library/Jupyter/runtime/jpserver-46320-open.html
42+
Or copy and paste one of these URLs:
43+
http://localhost:8888/?token=c8de56fa4deed24899803e93c227592aef6538f93025fe01
44+
http://127.0.0.1:8888/?token=c8de56fa4deed24899803e93c227592aef6538f93025fe01
45+
46+
Copy either of the HTTP URLs and paste it into your browser to see the server running with a
47+
message - "A Jupyter Server is running." If you are using the file link,
48+
opening it in your browser should automatically redirect you to the Jupyter server launch page,
49+
including the authentication token. In case it doesn't redirect automatically, you'll
50+
find an HTTP link on the page; clicking this link will take you to the Jupyter server landing page.
4251

4352
At any later time, you can see the tokens and URLs for all of your running servers with :command:`jupyter server list`::
4453

0 commit comments

Comments
 (0)