Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extractHS256Token not working #2

Open
Malin88 opened this issue Jan 21, 2022 · 1 comment
Open

extractHS256Token not working #2

Malin88 opened this issue Jan 21, 2022 · 1 comment

Comments

@Malin88
Copy link

Malin88 commented Jan 21, 2022

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants