Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • allgo allgo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 81
    • Issues 81
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • allgoallgo
  • allgoallgo
  • Merge requests
  • !34

Jupyter Hub integration

  • Review changes

  • Download
  • Patches
  • Plain diff
Open CAMPION Sebastien requested to merge jupyterhub into jwt Jun 05, 2018
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 6

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 :

  • https://github.com/scampion/jwtauthenticator/commit/8031af6d6036d2a462d84dda28370804ee86692e

A detailed diagram is available here :

  • https://gitlab.inria.fr/allgo/allgo/uploads/9b67f89e87ded6e675c8a2b359bb486a/image.png
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: jupyterhub