Try more config

This commit is contained in:
Micke Nordin 2024-01-10 16:14:39 +01:00
parent 41b9d27644
commit 203e3be54f
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -5,6 +5,8 @@ hub:
enable_auth_state: true
JupyterHub:
tornado_settings:
request_timeout: 300
connect_timeout: 60
headers: { 'Content-Security-Policy': "frame-ancestors *;" }
db:
pvc:
@ -12,7 +14,6 @@ hub:
extraConfig:
oauthCode: |
from oauthenticator.generic import GenericOAuthenticator
c.JupyterHub.tornado_settings = { "request_timeout": 50, "connect_timeout": 5 }
c.JupyterHub.authenticator_class = GenericOAuthenticator
c.GenericOAuthenticator.client_id = os.environ['NEXTCLOUD_CLIENT_ID']
c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_ID']