Fixed redirect URI

This commit is contained in:
2024-02-08 07:29:43 +01:00
parent d31eed6d9b
commit 32fc0c6f0e

View File

@@ -42,7 +42,7 @@ const reloadData = () => {
.then(loadData)
.catch(() => {
document.getElementById("keycloak-footer").innerHTML = '<i class="fas fa-sign-in-alt"></i> 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);