I\'m searching for an hours now and can\'t find a solution to this problem.
This is the code to generate JWT token. I used https://github.com/firebase/php-jwt libra
Signature verification fails because you are not passing the correct secret key to https://jwt.io/ You need to pass the value of $secretKey from the PHP code. According to the screenshot you are passing string secret.
$secretKey
secret