[keycloak-user] Failed to initialize in KC 3.4

Corentin Dupont corentin.dupont at gmail.com
Tue Dec 12 04:45:03 EST 2017


Hi guys,

I use this code in my javascript application:

var keycloak = Keycloak();
        keycloak.init().success(function(authenticated) {
            alert(authenticated ? 'authenticated' : 'not authenticated');
        }).error(function() {
            alert('failed to initialize');
        });

Since I updated Keycloak I get the message 'failed to initialize'.
It was working well with the previous version of KC 3.2.

What could it be? How can I get a better error message?


Thanks!


More information about the keycloak-user mailing list