Hi,
I start using the javascript adapter this week. The documentation
https://www.keycloak.org/docs/4.6/securing_apps/#_javascript_adapter "says" that
the init(...) function should returns a Promise.
After installing the official(?) javascript adapter with "npm install
keycloak-js" I only get the old "success" function as return value.
I don't understand what I am doing wrong here. Shouldn't I get a keycloak.js file
with a Promise in it? Also I wonder if the keycloak-js adapter should be on ES6 so I am
able to do an "import Keycloak from "keycloak-js"". I don't find
any information about on
https://github.com/keycloak/keycloak-js-bower. Since 4.0.0-beta
nothing changed here.
Best Regards
Alex