Skip to content

TOTP verification failure #140

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 });

Activity

  1. zepzeper commented on Nov 1, 2021

    @zepzeper

    Did you find a fix for this?

  2. sabdullahpear commented on Jun 30, 2022

    @sabdullahpear

    Seeing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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