angular2-keycloak icon indicating copy to clipboard operation
angular2-keycloak copied to clipboard

Bug in public updateToken

Open ticxx opened this issue 7 years ago • 0 comments

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

ticxx avatar Sep 20 '17 18:09 ticxx