Skip to content

JupyterHub authentication support for Cuiman - #233

Draft
forman wants to merge 10 commits into
mainfrom
forman/211-use_jupyter_auth
Draft

forman wants to merge 10 commits into
mainfrom
forman/211-use_jupyter_auth

Conversation

@forman

@forman forman commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Cuiman now supports JupyterHub authentication in Python, the CLI, and the launched app. On a suitably configured Hub, users can access their processing service without copying or managing tokens themselves.

  • auto is the default for new configurations. It discovers authentication—currently JupyterHub only—and uses anonymous access if none is detected.
  • jupyter requires JupyterHub authentication and reports an error if unavailable.
  • none skips discovery and uses anonymous access. Existing profiles explicitly selecting none keep this behavior.

Python and app requests use the current token supplied by JupyterHub. Authentication failures stop requests instead of continuing anonymously. Tokens stay out of the app browser, and Cuiman logout does not sign users out of JupyterHub.

Closes #211.

Checklist (strike out non-applicable):

  • Changes documented in CHANGES.md
  • Related issue exists and is referred to in the PR description and CHANGES.md
  • Added docstrings and API docs for any new/modified user-facing classes and functions
  • Changes/features documented in docs/*
  • Unit-tests adapted/added for changes/features
  • Test coverage remains or increases (target 100%)

@codecov

codecov Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…y JupyterHub only; "none" always skips discovery;

"jupyter" requires usable Hub authentication.
… mentions from the authentication guide and generated client docstrings.
@forman forman changed the title Allow Cuiman using Jupyter auth JupyterHub authentication support for Cuiman Sep 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support JupyterHub SSO

1 participant