Commit c1956a12 authored by CAMPION Sebastien's avatar CAMPION Sebastien

fix on user creation

parent c16acfa9
FROM jupyterhub/jupyterhub
RUN pip install git+https://github.com/data-8/nbgitpuller
RUN pip install jupyterhub-jwtauthenticator
RUN pip install jupyter==1.0.0
RUN pip install https://github.com/data-8/nbgitpuller/archive/28fe9b1af2ba64b346d59bd13c99581346bf349f.zip
RUN pip install https://github.com/mogthesprog/jwtauthenticator/archive/63467a803e2e96fb17516a8c4bcf09efbe9e60f3.zip
RUN jupyter serverextension enable --py nbgitpuller --sys-prefix
RUN apt-get install git
ENV PYTHONUNBUFFERED 1
......
......@@ -85,7 +85,7 @@ import os
c.JSONWebTokenAuthenticator.signing_certificate = os.environ.get("JUPYTERHUB_JWT_KEY") #/foo/bar/adfs-signature.crt' # The certificate used to sign the incoming JSONWebToken, must be in PEM Format
c.JSONWebTokenAuthenticator.username_claim_field = 'upn' # The claim field contianing the username/sAMAccountNAme/userPrincipalName
c.JSONWebTokenAuthenticator.expected_audience = 'jupyter' # This config option should match the aud field of the JSONWebToken, empty string to disable the validation of this field.
c.JSONWebLocalTokenAuthenticator.create_system_users = True # This will enable local user creation upon authentication, requires JSONWebTokenLocalAuthenticator
#c.JSONWebLocalTokenAuthenticator.create_system_users = True # This will enable local user creation upon authentication, requires JSONWebTokenLocalAuthenticator
c.JSONWebTokenAuthenticator.param_name = 'bearer' # default value
c.LocalAuthenticator.create_system_users = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment