Try the oauth version
This commit is contained in:
parent
9cc5fe7a38
commit
3428b6144c
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue