Skip to content

Verifying a malformed token causes an exception that can't be handled from client code #440

@danfloyd111

Description

@danfloyd111

Steps to reproduce the issue: try to verify a "bad" token like "foo-bar-baz", it will trigger an "unhandled promise rejection" that can't be captured in client code.

I submitted a PR to fix the issue: #437

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