KEYCLOAK-3625 Fix url

This commit is contained in:
Stian Thorgersen 2016-10-19 17:07:01 +02:00
parent 1b24d2edd8
commit bd8e435164

View file

@ -24,7 +24,7 @@
if (!init) {
var req = new XMLHttpRequest();
var url = "http://localhost:8080/auth/realms/master/protocol/openid-connect/login-status-iframe.html/init";
var url = location.href + "/init";
url += "?client_id=" + encodeURIComponent(clientId);
url += "&origin=" + encodeURIComponent(origin);
url += "&session_state=" + encodeURIComponent(sessionState);