
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
With NISTAuthenticator, you can authenticate JupyterHub users using a customized HTTP header.
This may come handy if you wish to integrate JupyterHub into a system with an existing authentication system.
We can put JupyterHub behind a reverse HTTP proxy and use an authentication middleware that re-directs hub users to the system's login page. Upon successful login, the reverse HTTP proxy adds to the original request a customized HTTP header with value set to the user ID. It then forwards the request to JupyterHub and NISTAuthenticator will authenticate the user via the HTTP header and perform all the necessary actions for subsequent requests to JupyterHub and user's single-user notebook server to work.
You can install with pip:
pip install nistauthenticator
After successful installation, you can use nistauthenticator
as the authenticator for JupyterHub by including the following in your JupyterHub configuration file:
c.JupyterHub.authenticator_class = 'nistauthenticator.NISTAuthenticator'
In the same JupyterHub configuration file, you can configure the name of HTTP header to use for authentication via
c.NISTAuthenticator.user_header = 'your-http-header-name'
and the logout URL can be specified via
c.NISTAuthenticator.logoutURL = 'your-logout-url'
FAQs
A HTTP header based authenticator for JupyterHub
We found that nistauthenticator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.