Allow authstate to be persisted
This commit is contained in:
parent
913980a027
commit
c4c4ff2f31
|
@ -42,6 +42,7 @@ hub:
|
|||
print(f'Time is: {now}, token expires: {expires}')
|
||||
return True
|
||||
except KeyError:
|
||||
print(f'No auth_state available for user: {user.name}')
|
||||
return False
|
||||
|
||||
c.JupyterHub.authenticator_class = NextcloudOAuthenticator
|
||||
|
@ -62,6 +63,11 @@ hub:
|
|||
extraEnv:
|
||||
NEXTCLOUD_HOST: sunet.drive.test.sunet.se
|
||||
JUPYTER_HOST: jupyter.drive.test.sunet.se
|
||||
JUPYTERHUB_CRYPT_KEY:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: jupyterhub-secrets
|
||||
key: crypt-key
|
||||
NEXTCLOUD_CLIENT_ID:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
Loading…
Reference in a new issue