1
0
mirror of https://github.com/balkian/jupyterhub-oauth.git synced 2024-12-21 19:48:13 +00:00
not really known
Go to file
J. Fernando Sánchez 0bb2ea7963 Simplified spawner, added GitLab/OAuth
* Now we avoid using localusers and use a DockerSpawner directy
* There is an option to select other oauthenticator classes
2017-01-25 00:35:44 +01:00
ssl First commit 2016-04-13 17:38:30 +02:00
.dockerignore Simplified spawner, added GitLab/OAuth 2017-01-25 00:35:44 +01:00
.gitignore Simplified spawner, added GitLab/OAuth 2017-01-25 00:35:44 +01:00
Dockerfile Simplified spawner, added GitLab/OAuth 2017-01-25 00:35:44 +01:00
env First commit 2016-04-13 17:38:30 +02:00
jupyterhub_config.py Simplified spawner, added GitLab/OAuth 2017-01-25 00:35:44 +01:00
Makefile Simplified spawner, added GitLab/OAuth 2017-01-25 00:35:44 +01:00
README.md First commit 2016-04-13 17:38:30 +02:00
VERSION Simplified spawner, added GitLab/OAuth 2017-01-25 00:35:44 +01:00

OAuthenticator

Example of running JupyterHub with GitHub OAuth for authentication.

setup

Edit the file called userlist to include one GitHub user name per line. If that user should be an admin (you!), add admin after a space.

For example:

mal admin
zoe admin
wash
inara admin
kaylee
jayne
simon
river

build

Build the container with:

docker build -t jupyter/oauthenticator .

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 the env file. Once you have built the container, you can run it with:

docker run -it -p 8000:8000 --env-file=env jupyter/oauthenticator

Which will run the Jupyter server.