From e9189e486c4bdafb1e6060165a7ed207b66541aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> Date: Tue, 18 Jun 2024 16:01:42 +0000 Subject: [PATCH] JWT at devel instance --- cesnet-central/deployments/fullhub.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cesnet-central/deployments/fullhub.yaml b/cesnet-central/deployments/fullhub.yaml index 403d472..c5f5159 100644 --- a/cesnet-central/deployments/fullhub.yaml +++ b/cesnet-central/deployments/fullhub.yaml @@ -108,9 +108,13 @@ hub: status: url: "http://status-web/" admin: true + jwt: + url: "http://localhost:1984/" + command: ["fastapi", "run", "--port", "1984", "/egi-notebooks-hub/egi_notebooks_hub/services/api_wrapper.py"] + display: false image: name: valtri/hub - tag: "3.x-eosc4" # EOSC, jupyter 3.1.0 + tag: "eosc7-jwt" config: Authenticator: enable_auth_state: true @@ -129,8 +133,9 @@ hub: client_id: "{{ secret['client_id'] }}" client_secret: "{{ secret['client_secret'] }}" oauth_callback_url: "https://fullhub.eosc.zcu.cz/hub/oauth_callback" + openid_configuration_url: "https://proxy.testing.eosc-federation.eu/.well-known/openid-configuration" scope: ["openid", "profile", "email", "offline_access", "entitlements"] - username_key: "sub" + username_claim: "sub" extra_authorize_params: prompt: consent JupyterHub: -- GitLab