diff --git a/themes/MUG/invenio.cfg b/themes/MUG/invenio.cfg index e751342..39becbd 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, + "keycloak": _keycloak_helper.remote_app + # "cyverse": _cyverse_keycloak_helper.remote_app, } ## SET THE CREDENTIALS via .env