Use newest keycloak library
MODIFY
package.json
package.json
"angular2-toaster": "^8.0.0",
"hammerjs": "^2.0.8",
"keycloak-admin": "^1.13.0",
- "keycloak-angular": "^7.0.1",
- "keycloak-js": "^5.0.0",
+ "keycloak-angular": "^7.1.0",
+ "keycloak-js": "^8.0.1",
"ngx-logger": "^4.0.7",
"rxjs": "^6.5.4",
"swagger-ui-dist": "^3.24.3",

Use newest keycloak library