speakeasyjs / speakeasy

**NOT MAINTAINED** Two-factor authentication for Node.js. One-time passcode generator (HOTP/TOTP) with support for Google Authenticator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on verify/get token

cortesa opened this issue · comments

Hi, all
I think I found a bug in the snippet in the readme.md file, encoding option expect an array and in doc are like a string, so I change to encoding: ['base32'] and it works like a charm.

image