From 1d049ddab9c88e4c2109ed337811f6efcecf2fdc Mon Sep 17 00:00:00 2001 From: Laura Date: Mon, 23 Feb 2026 10:45:19 +0100 Subject: [PATCH 1/2] comment out cyverse sso in mug theme --- themes/MUG/invenio.cfg | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/themes/MUG/invenio.cfg b/themes/MUG/invenio.cfg index e751342..af3b177 100644 --- a/themes/MUG/invenio.cfg +++ b/themes/MUG/invenio.cfg @@ -407,24 +407,25 @@ OAUTHCLIENT_KEYCLOAK_VERIFY_AUD = True # whether to verify the audience tag for OAUTHCLIENT_KEYCLOAK_AUD = "inveniordm" # probably the same as the client ID OAUTHCLIENT_KEYCLOAK_USER_INFO_FROM_ENDPOINT = True -_cyverse_keycloak_helper = KeycloakSettingsHelper( - title="Cyverse SSO", - description="Cyverse SSO", - base_url="https://keycloak.cyverse.at", - realm="CyVerse", - app_key="CYVERSE_KEYCLOAK_APP_CREDENTIALS", -) -OAUTHCLIENT_CYVERSE_REALM_URL = _cyverse_keycloak_helper.realm_url -OAUTHCLIENT_CYVERSE_USER_INFO_URL = _cyverse_keycloak_helper.user_info_url -OAUTHCLIENT_CYVERSE_VERIFY_EXP = True -OAUTHCLIENT_CYVERSE_VERIFY_AUD = True -OAUTHCLIENT_CYVERSE_AUD = "inveniordm" -OAUTHCLIENT_CYVERSE_USER_INFO_FROM_ENDPOINT = True +# Cyverse SSO (commented out – uncomment to re-enable) +# _cyverse_keycloak_helper = KeycloakSettingsHelper( +# title="Cyverse SSO", +# description="Cyverse SSO", +# base_url="https://keycloak.cyverse.at", +# realm="CyVerse", +# app_key="CYVERSE_KEYCLOAK_APP_CREDENTIALS", +# ) +# OAUTHCLIENT_CYVERSE_REALM_URL = _cyverse_keycloak_helper.realm_url +# OAUTHCLIENT_CYVERSE_USER_INFO_URL = _cyverse_keycloak_helper.user_info_url +# OAUTHCLIENT_CYVERSE_VERIFY_EXP = True +# OAUTHCLIENT_CYVERSE_VERIFY_AUD = True +# OAUTHCLIENT_CYVERSE_AUD = "inveniordm" +# OAUTHCLIENT_CYVERSE_USER_INFO_FROM_ENDPOINT = True OAUTHCLIENT_REMOTE_APPS = { "keycloak": _keycloak_helper.remote_app, - "cyverse": _cyverse_keycloak_helper.remote_app, + # "cyverse": _cyverse_keycloak_helper.remote_app, } ## SET THE CREDENTIALS via .env From 58ec675e30a8d68241d6a649be0d99729b1494ba Mon Sep 17 00:00:00 2001 From: Laura TH <112856634+lpandath@users.noreply.github.com> Date: Mon, 23 Feb 2026 10:56:49 +0100 Subject: [PATCH 2/2] Update themes/MUG/invenio.cfg Co-authored-by: mb-wali <44528277+mb-wali@users.noreply.github.com> --- themes/MUG/invenio.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/MUG/invenio.cfg b/themes/MUG/invenio.cfg index af3b177..39becbd 100644 --- a/themes/MUG/invenio.cfg +++ b/themes/MUG/invenio.cfg @@ -424,7 +424,7 @@ OAUTHCLIENT_KEYCLOAK_USER_INFO_FROM_ENDPOINT = True OAUTHCLIENT_REMOTE_APPS = { - "keycloak": _keycloak_helper.remote_app, + "keycloak": _keycloak_helper.remote_app # "cyverse": _cyverse_keycloak_helper.remote_app, }