You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got : "message": "Malformed UTF-8 characters, possibly incorrectly encoded", when trying to decode a token. $public_key = openssl_pkey_get_public('file://'.__DIR__.'/keys/public.pem'); if (! $signature->isValid($public_key, 'ES256')) { return new Response('Unauthorized', 403); }
It's working fine when a generate the token using your library but when the token came from elsewhere (a ruby library) I got that error.
Any idea?
The text was updated successfully, but these errors were encountered:
I got : "message": "Malformed UTF-8 characters, possibly incorrectly encoded", when trying to decode a token.
$public_key = openssl_pkey_get_public('file://'.__DIR__.'/keys/public.pem'); if (! $signature->isValid($public_key, 'ES256')) { return new Response('Unauthorized', 403); }
It's working fine when a generate the token using your library but when the token came from elsewhere (a ruby library) I got that error.
Any idea?
The text was updated successfully, but these errors were encountered: