-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I've tested this lib with google api JWT, but I got error:
can't decode the base64 input string [notasecret], because the input
string has an invalid length
notasecret is the default password for google Jwt. The error is probably due to Base64url encoding.
Something like this:
reReplace(reReplace(reReplace(str, "\+", "-", "all"), "\/", "_", "all"),"=", "", "all")
could resolve the issue.
Here are some reference: https://developers.google.com/identity/protocols/OAuth2ServiceAccount
Metadata
Metadata
Assignees
Labels
No labels