Closed
Description
Base64Url encoding contains -
and _
instead of +
and /
, respectively. To account for this, a string replace is necessary. After looking through the codebase, I think I found where the culprit is.
angular-oauth2-oidc/angular-oauth2-oidc/src/base64-helper.ts
Lines 2 to 6 in 7e918f1
It looks like you will need to do this prior to the decoding:
var base64 = str
.replace(/\-/g, '+')
.replace(/\_/g, '/');
Metadata
Metadata
Assignees
Labels
No labels