8000 TOTP verification failure · Issue #140 · speakeasyjs/speakeasy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TOTP verification failure #140
Open
Open
@ragul-ct

Description

@ragul-ct

Why do sometimes speakeasy.totp.verify() method return false even though the secret and token matches.

Can anyone tell me if there is any issue with the way i use it?

Below is my implementation to create a token and verify a token

speakeasy.totp({ secret, encoding: 'base32', digits: 4, step: 600 });

speakeasy.totp.verify({ secret, token, encoding: 'base32', step: 600, digits: 4 });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0