angular2-keycloak
angular2-keycloak copied to clipboard
Bug in public updateToken
Hello,
updateToken throw always an error ,
due to a typo in keycloak.core.service.js line 68 https://github.com/ebondu/angular2-keycloak/blob/4185e47f57c85157a9bb8e3b8d49a1514e7808f0/src/services/keycloak.core.service.ts#L138
headers.append('Authorization', 'Basic ' + btoa(_this.clientId + ': ' + _this.clientSecret));
should be (no space after the colon)
headers.append('Authorization', 'Basic ' + btoa(_this.clientId + ':' + _this.clientSecret));
regards, ticxx