From 3428b6144c61d6bda252f90d693d29c568a687b7 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 17 Jan 2024 15:21:50 +0100 Subject: [PATCH] Try the oauth version --- jupyter/base/values/values.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jupyter/base/values/values.yaml b/jupyter/base/values/values.yaml index 52ff022..a7f4373 100644 --- a/jupyter/base/values/values.yaml +++ b/jupyter/base/values/values.yaml @@ -168,10 +168,12 @@ hub: from tornado.ioloop import IOLoop from tornado.log import app_log from tornado.web import Application, RequestHandler, authenticated - from jupyterhub.services.auth import HubAuthenticated + from jupyterhub.services.auth import HubOAuthenticated - class RefreshHandler(HubAuthenticated, RequestHandler): + class RefreshHandler(HubOAuthenticated, RequestHandler): + def initialize(self, hub_auth): + self.hub_auth = hub_auth @authenticated def get(self): # app_log.info(f"DEBUG: In refresh get {os.environ}")