Try with the class itself

This commit is contained in:
Micke Nordin 2025-02-03 13:44:35 +01:00
parent 73ec2cc584
commit 7c2975d3e9
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -20,7 +20,7 @@ hub:
os.environ['OAUTH2_TOKEN_URL'] = keycloak_base + '/token'
os.environ['OAUTH2_AUTHORIZE_URL'] = keycloak_base + '/auth'
c.JupyterHub.authenticator_class = 'GenericOAuthenticator'
c.JupyterHub.authenticator_class = GenericOAuthenticator
c.OAuthenticator.client_id = os.environ['OAUTH2_CLIENT_ID']
c.OAuthenticator.client_secret = os.environ['OAUTH2_CLIENT_SECRET']