We are using firebase/php-jwt library. [using php 7.2]
We are able to generate client secret key, using below
$jwt = JWT::encode($payload, $keycontent, 'ES256', $key);
// Able to get response code successfully
Problem in decode,
$decoded = JWT::decode($jwt, $rsa->getPublicKey(), array('ES256'));
we are getting the Signature verification failed error.
Can you please help us?