Skip to content

Commit

Permalink
Force keycloak.js authenticator to use native promises
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketeerbkw committed Nov 29, 2018
1 parent aa23095 commit ff36596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/ui/src/lib/withKeycloak.js
Expand Up @@ -24,7 +24,8 @@ export default (App, initialAuth) => {

await keycloak.init({
onLoad: 'login-required',
checkLoginIframe: false
checkLoginIframe: false,
promiseType: 'native',
});

this.setAuth(keycloak);
Expand Down

0 comments on commit ff36596

Please sign in to comment.