Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow unauthenticated access to jupyter server #761

Merged
merged 3 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/source/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ nbdime provides the following CLI commands::

Pass ``--help`` to each command to see help text for the command's usage.

.. warning::
The `-web` variants will start up a local, unsecured server.
If the port used by this server is accessible to others users
krassowski marked this conversation as resolved.
Show resolved Hide resolved
(which is commonly the case in HPC setups) the content of the
diffed/merged notebook will be accessibly by other users.

Additional commands are available for :ref:`git-integration`.

Expand Down
1 change: 1 addition & 0 deletions nbdime/webapp/nbdimeserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ def make_app(**params):
'jinja2_env': env,
'local_hostnames': ['localhost', '127.0.0.1'],
'cookie_secret': base64.encodebytes(os.urandom(32)), # Needed even for an unsecured server.
'allow_unauthenticated_access': True,
}

try:
Expand Down
Loading