*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 1ee92e56 authored by Moser, Maximilian's avatar Moser, Maximilian
Browse files

Adapt configuration of Keycloak remote app

Since TU Wien's Invenio-Keycloak is moving to Invenio-OAuthClient.contrib,
the required configuration has to be adapted
parent 4302c804
Branches
No related tags found
No related merge requests found
......@@ -158,18 +158,17 @@ RECAPTCHA_PRIVATE_KEY = None
# Invenio-Keycloak
# ================
from invenio_keycloak.config import KeycloakSettingsHelper
from invenio_oauthclient.contrib.keycloak import KeycloakSettingsHelper
helper = KeycloakSettingsHelper(base_url="https://s194.dl.hpc.tuwien.ac.at:8443", realm="invenio")
KEYCLOAK_REMOTE_APP = helper.remote_app()
KEYCLOAK_REALM_URL = helper.realm_url
KEYCLOAK_USER_INFO_URL = helper.user_info_url
KEYCLOAK_AUD = "invenio"
KEYCLOAK_VERIFY_AUD = True
OAUTHCLIENT_KEYCLOAK_REALM_URL = helper.realm_url
OAUTHCLIENT_KEYCLOAK_USER_INFO_URL = helper.user_info_url
OAUTHCLIENT_KEYCLOAK_AUD = "invenio"
OAUTHCLIENT_KEYCLOAK_VERIFY_AUD = True
OAUTHCLIENT_REMOTE_APPS = {
"keycloak": KEYCLOAK_REMOTE_APP,
"keycloak": helper.remote_app(),
}
KEYCLOAK_APP_CREDENTIALS = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment