From 32fc0c6f0e6b263ce662782e6383d57fe2433c46 Mon Sep 17 00:00:00 2001 From: marvinscham Date: Thu, 8 Feb 2024 07:29:43 +0100 Subject: [PATCH] Fixed redirect URI --- keycloak.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keycloak.js b/keycloak.js index ee45a4d..41dd53b 100644 --- a/keycloak.js +++ b/keycloak.js @@ -42,7 +42,7 @@ const reloadData = () => { .then(loadData) .catch(() => { document.getElementById("keycloak-footer").innerHTML = ' Login/Registrierung'; - document.getElementById("keycloak-footer").href = "https://auth.xn--schmkerei-37a.de/realms/schmoekerei/protocol/openid-connect/auth?client_id=homer&response_type=code&redirect_uri=https://schmökerei.de"; + document.getElementById("keycloak-footer").href = "https://auth.xn--schmkerei-37a.de/realms/schmoekerei/protocol/openid-connect/auth?client_id=homer&response_type=code&redirect_uri=https://xn--schmkerei-37a.de"; }); }; keycloak.init({ onLoad: "check-sso", silentCheckSsoRedirectUri: "https://xn--schmkerei-37a.de/assets/silent-check-sso.html", silentCheckSsoFallback: false }).then(reloadData);