Skip to main content

Jupyterhub OMERO authenticator

Project description

Jupyter OMERO Authenticator

Build Status PyPI

Use OMERO to authenticate with JupyterHub.

Example

You are strongly recommended to enable auth_state persistence so that OMERO session-ids can be checked and refreshed.

jupyterhub_config.py:

c.JupyterHub.authenticator_class = 'jupyter_omero_authenticator.OmeroAuthenticator'
c.OmeroAuthenticator.omero_host = 'omero.example.org'

# Pass OMERO_HOST OMERO_USER OMERO_SESSION environment variables
c.OmeroAuthenticator.export_omero_env = True

c.Authenticator.auth_refresh_age = 300
c.Authenticator.enable_auth_state = True
c.Authenticator.refresh_pre_spawn = True
export JUPYTERHUB_CRYPT_KEY=$(openssl rand -hex 32)
jupyterhub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyter-omero-authenticator, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size jupyter_omero_authenticator-0.0.1-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size jupyter-omero-authenticator-0.0.1.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page