-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
-
False
-
-
Red Hat developer Stacey Mosier reports that the Javascript example in the RH SSO Securing Apps guide is not printing errors.
She suggests it can be updated to use console.error instead of alert, and print the errors:
keycloak.init(options)
.then(function(authenticated)
).catch((error) => {
for (const property in error) {
console.error(`${property}: ${error[property]}`);
}
});