Skip to main content

JijZeptLab Cognito Authenticator

Latest PyPI version Documentation build status GitHub Workflow Status - Test Code coverage

GitHub Discourse Gitter Contribute

This is a relatively simple authenticator for small or medium-sized JupyterHub applications. Signup and authentication are implemented as native to JupyterHub without relying on external services.

NativeAuthenticator provides the following features:

  • New users can signup on the system;
  • New users can be blocked from accessing the system awaiting admin authorization;
  • Option of enforcing password security by disallowing common passwords or requiring a minimum password length;
  • Option to block users after a set number of failed login attempts;
  • Option of open signup without need for initial authorization;
  • Option of asking more information about users on signup (e-mail).
  • Option of requiring users to agree with given Terms of Service;
  • Option of protection against scripting attacks via reCAPTCHA;
  • Option for users with an org-internal e-mail address to self-approve via secure link;

Documentation

The latest documentation is always on readTheDocs, available here.

Running tests

To run the tests locally, you can install the development dependencies like so:

pip install -r dev-requirements.txt

Then run tests with pytest:

pytest

Add Document

need enviroment COGNITO_REGION : Using Cognito Reagion. COGNITO_CLIENT_ID : Using Cognito ClientId. COGNITO_USERPOOL_ID : Using Cognito UserPoolId.

Metadata

Release files for jupyterhub-cognitoauthenticator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterhub-cognitoauthenticator 1.0.0
File Size Uploaded
jupyterhub-cognitoauthenticator-1.0.0.tar.gz 4.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterhub-cognitoauthenticator 1.0.0
File Interpreter ABI Platform
jupyterhub_cognitoauthenticator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 MB

Release files / jupyterhub-cognitoauthenticator-1.0.0.tar.gz

Download URL jupyterhub-cognitoauthenticator-1.0.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
f7452c9592c3e5fe41ca3dec927398ca44fa66b656b3023867b256c50497b882
BLAKE2b-256 checksum
How to use checksums
989f6c6becd0c5bb5a52afddfa31e44e880e941e9f5e7423a649f712d0366266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / jupyterhub_cognitoauthenticator-1.0.0-py3-none-any.whl

Download URL jupyterhub_cognitoauthenticator-1.0.0-py3-none-any.whl
Size 71.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89247cf1daebbaa590f9a55d1d32e599b870fae4c9be27e2e285062c63df638f
BLAKE2b-256 checksum
How to use checksums
6aa44ac79569e43c189bc7967ec832321a7039612df1a861ebe0752d318ce5af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page