not really known
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
J. Fernando Sánchez c3dc32cab3 Using a fork of oauthenticator temporarily
Oauthenticator fails with newer versions of the API for non-admin users.
This fork takes care of that until PR116 is merged:

https://github.com/jupyterhub/oauthenticator/pull/116
7 years ago
dockerspawner@a1660913dd Updated to jupyterhub 0.7.2 to add OAUTH_TLS_VERIFY=0 7 years ago
oauthenticator@89289f9273 Using a fork of oauthenticator temporarily 7 years ago
ssl First commit 8 years ago
.dockerignore Simplified spawner, added GitLab/OAuth 7 years ago
.gitignore Simplified spawner, added GitLab/OAuth 7 years ago
.gitmodules Using a fork of oauthenticator temporarily 7 years ago
Dockerfile Updated to jupyterhub 0.7.2 to add OAUTH_TLS_VERIFY=0 7 years ago
Dockerfile.template Updated to jupyterhub 0.7.2 to add OAUTH_TLS_VERIFY=0 7 years ago
Makefile Updated to jupyterhub 0.7.2 to add OAUTH_TLS_VERIFY=0 7 years ago
README.md Upgrade to 1.7 7 years ago
VERSION Updated to jupyterhub 0.7.2 to add OAUTH_TLS_VERIFY=0 7 years ago
env First commit 8 years ago
jupyterhub_config.py Updated to jupyterhub 0.7.2 to add OAUTH_TLS_VERIFY=0 7 years ago

README.md

OAuthenticator

Example of running JupyterHub with GitHub OAuth for authentication.

Variables

General variables

ADMINS=balkian,oaraque
OAUTH_CALLBACK_URL=http://hub.cluster.gsi.dit.upm.es/hub/oauth_callback
HOST_HOMEDIR=/mnt/home/{username} # {username} will be replaced by the actual OAuth user

Gitlab variables:

GITLAB_HOST=https://lab.cluster.gsi.dit.upm.es/
GITLAB_CLIENT_ID=TheMaxiID
GITLAB_CLIENT_SECRET=TheMaxiSecret
OAUTH_CLASS=oauthenticator.gitlab.GitLabOAuthenticator 
DATASETS_DIR=/home/datasets # READ ONLY
COMMON_DIR=/home/common # To share files between users

GitHub variables:

GITHUB_CLIENT_ID=GHId
GITHUB_CLIENT_SECRET=GHSecret
OAUTH_CLASS=oauthenticator.github.GitHubOAuthenticator 

build

Build the container with:

make build

Alternatively:

docker build -t gsiupm/jupyter-oauth:testing .

ssl

To run the server on HTTPS, put your ssl key and cert in ssl/ssl.key and ssl/ssl.cert.

run

Add your oauth client id, client secret, and callback URL to your env file (i.e. .env). Once you have built the container, you can run it with:

make run

Alternatively:

docker run -it -p 8000:8000 --env-file=env gsiupm/jupyter-oauth:testing

Which will run the Jupyter server.