diff --git a/notebook/templates/login.html b/notebook/templates/login.html index 61aafaf17..91f909a77 100644 --- a/notebook/templates/login.html +++ b/notebook/templates/login.html @@ -45,16 +45,20 @@ {% endif %} {% if token_available %} {% block token_message %} -
-

- Token authentication is enabled. - - You need to open the notebook server with its first-time login token in the URL, - or enable a password in order to gain access. - The command: +

+

+ Token authentication is enabled +

+

+ If no password has been configured, you need to open the notebook + server with its login token in the URL, or paste it above. + This requirement will be lifted if you + + enable a password.

-
jupyter notebook list

+ The command: +

jupyter notebook list
will show you the URLs of running servers with their tokens, which you can copy and paste into your browser. For example:

@@ -62,11 +66,22 @@ http://localhost:8888/?token=c8de56fa... :: /Users/you/notebooks

- Or you can paste just the token value into the password field on this page. + or you can paste just the token value into the password field on this + page. +

+

+ See + + the documentation on how to enable a password + + in place of token authentication, + if you would like to avoid dealing with random tokens.

Cookies are required for authenticated access to notebooks.

+
{% endblock token_message %} {% endif %}