Jupyter Hub integration
A jupyterhub container is configured with jwt authentication We add two claim : token.claim['upn'] = user token.claim['atk'] = AllgoUser.objects.get(user=User.objects.get(username=user)).token
This claim are used in the jwtauthenticator plugin (https://github.com/scampion/jwtauthenticator/) With this patch :
A detailed diagram is available here :