Skip to content

Problem signing out of Jupyter Notebooks if c.NotebookApp.base_url is set (cookie not cleared) #3196

@leontp587

Description

@leontp587

This is a bug report.

Versions tested:

  • Notebook 5.2.2 on python 2.7 on RedHat Enterprise Linux 6.9 and Windows 7
  • Notebook 5.2.1 on python 2.7 on Windows 7

Reproduce steps:

  1. Install Jupyter notebooks with "pip installing jupyter"
  2. Generate a config file with "jupyter notebook --generate-config"
  3. Set a password in c.NotebookApp.password in .jupyter/jupyter_notebook_config.py
  4. Set a base URL in c.NotebookApp.base_url in .jupyter/jupyter_notebook_config.py
  5. Run "jupyter --notebook"
  6. Login with password, and click logout, then login again. You'll see the user isn't logged out. Closing the browser doesn't help. The cookie is still present.

If I don't set a base_url (step 4 above), then the logout and cookie clearing works normally.

Can someone confirm this behavior? I tried on both Windows and Linux in my environment and hit this bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions