Skip to content

Allow jwt decode without passing a key #103

@CruseCtrl

Description

@CruseCtrl

When using decode with noVerify, there's no point in passing the key because it's not going to be used. It would make sense if you could call decode(token) without passing a key, and it would decode the token without trying to verify it.

At the moment I have to do something like decode(token, 'dummy_key', true), which is a lot more verbose

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions