Git Product home page Git Product logo

jupyterhub-passthroughauth's Introduction

jupyterhub-passthroughauth

Pass-through authentication for jupyterhub, enabling direct access to the session of a particular locked down user.

The plugin (if installed and configured) could disable the standard form-based authentication of jupyterhub and provides direct access to the session from a particular user specified via config. Think of this as a jupyterhub-singleuser functionality on a standard jupyterhub without the requirement of using tokens or passwords to gain access. This kind of module is very useful if you like to provide guest access to your jupyterhub from a particular user or continue to use the standard PAM authentication just by flipping a switch in the config

Installation

  • pip(3) install jupyterhub-passthroughauth

Configuration

  • jupyterhub_config.py
c.JupyterHub.authenticator_class = 'passthroughauth.PassThroughAuthenticator'
c.PassThroughAuthenticator.guest_user = 'ubuntu'
c.Authenticator.auto_login = True # Disables PAM login completely, use False otherwise

Access

If the regular path / is accessed:

  • Login page will be displayed if auto_login flag is set to False
  • Guest session page will be displayed if auto_login flag is set to True

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.