update jupyterhub deployment authorization

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>
This commit is contained in:
omrishiv 2024-07-16 09:10:02 -07:00
parent e33e39884c
commit cd8d2708ca
2 changed files with 2 additions and 3 deletions

View file

@ -21,7 +21,7 @@ spec:
extraEnv:
- name: OAUTH_TLS_VERIFY # for getting around self signed certificate issue
value: "0"
- name: JUPYTERHUB_OAUTH_CLIENT_SECRET
- name: OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: jupyterhub-oidc
@ -29,7 +29,6 @@ spec:
GenericOAuthenticator:
oauth_callback_url: https://cnoe.localtest.me:8443/jupyterhub/hub/oauth_callback
client_id: jupyterhub
client_secret: $(JUPYTERHUB_OAUTH_CLIENT_SECRET)
authorize_url: https://cnoe.localtest.me:8443/keycloak/realms/master/protocol/openid-connect/auth
token_url: https://cnoe.localtest.me:8443/keycloak/realms/master/protocol/openid-connect/token
userdata_url: https://cnoe.localtest.me:8443/keycloak/realms/master/protocol/openid-connect/userinfo

View file

@ -11,7 +11,7 @@ data:
"clientId": "jupyterhub",
"name": "Jupyterhub Client",
"description": "Used for Jupyterhub SSO",
"publicClient": true,
"publicClient": false,
"authorizationServicesEnabled": false,
"serviceAccountsEnabled": false,
"implicitFlowEnabled": false,