boftx has asked for the wisdom of the Perl Monks concerning the following question:

I have need to deal with JWTs and have found two CPAN modules that look viable: Crypt::JWT and JSON::WebToken

Which one is preferred for current use?

EDIT: After digging thru the codebase it appears that Crypt::JWT is already in use (in section buried deeply in the code) so the decision has already been made for me.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.

Replies are listed 'Best First'.
Re: What is the preferred JWT module?
by 1nickt (Canon) on Nov 11, 2019 at 17:12 UTC

    Crypt::JWT is what I use. There is also Mojo::JWT which is new.


    The way forward always starts with a minimal test.