Closed dylanwh closed 5 years ago
Merged, ta! Will get this out shortly.
OK, this looks like it never mattered because Mojo::JWT->decode was returning no claims payload with an invalid JWT and the following if block returned the same thing due to there being no auth_code_payload
Calling return from inside a try or catch block will not return from the function the try-catch is used. This is a common pitfall when using Try::Tiny.
This fixes the issue raised in #20