maxwellium / jwt-hs256

zero-dependencies JWT module to generate and validate HS256 tokens
5 stars 1 forks source link

extractHS256Token not working #2

Open Malin88 opened 2 years ago

Malin88 commented 2 years ago

Hi, when I try to decoding my hash, I got the error Unknown encoding: base64url. Using the example from ReadMe, I got same result :/

maxwellium commented 2 years ago

hi @Malin88 , what node version are you using? base64url landed in buffer in Node 14 https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md