jwtauthenticator
jwtauthenticator copied to clipboard
A Token Authenticator for JupyterHub
If I do the following: Dockerfile: ``` FROM jupyterhub/k8s-hub:0.9.0 # The published version on pypi is ancient # https://github.com/mogthesprog/jwtauthenticator/issues/27 RUN export VERSION=bc08e8c389c9ce41a920376d8c2b15af66d2be15 && \ curl https://github.com/mogthesprog/jwtauthenticator/archive/$VERSION.tar.gz --output archive.tar.gz && \...
Getting 401 Unauthorized error when i use jwtauthenticator. domain.com/hub/login page shows "401 Unauthorized" **jupyterhub_config.py:** c.JupyterHub.authenticator_class = 'jwtauthenticator.jwtauthenticator.JSONWebTokenLocalAuthenticator' c.JSONWebTokenAuthenticator.signing_certificate = '/opt/jupyterhub/auth.crt' c.JSONWebTokenAuthenticator.username_claim_field = 'upn' c.JSONWebTokenAuthenticator.expected_audience = '' c.JSONWebTokenAuthenticator.header_name = 'Authorization'
Hi I'm using the authenticator and the feature to create users dynamically, but when using Google IAP I'm getting the following error: ``` await maybe_future(self.add_system_user(user)) File "/home/sa_124215213123/.local/lib/python3.8/site-packages/jupyterhub/auth.py", line 909, in...
I try to use apache knox to establish a reverse proxy for jupyterhub. Therefore, I need to use jwtauthenticator so that jupyterhub can achieve jwt after get authenticated by knox...
Minor fix (wrong class name in config setting)
...maybe after Yuvi's suggestion of putting the whole JWT into auth_state.
Hi, We are using an external server for Authentication and once the user is authenticated, JWT is received in the jhub, which contains the authenticated user and using this info...
Love this! Just had to make a tweak for me, we put our JWT inside a cookie with a name other than XSRF-TOKEN, so I added the ability to set...
As of 0.8, JupyterHub supports encrypted [auth_state](http://jupyterhub.readthedocs.io/en/latest/reference/authenticators.html#authentication-state). Ideally, JWT should just be entirely put into auth_state for possible use later. I'll send in a PR shortly!
I am using AWS Cognito. It gives a JWK(JSON Web Key) to verify the JWT signature. Where can I specify the JWK in the jwtauthenticator config ? Should I specify...