Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"message": "Malformed UTF-8 characters, possibly incorrectly encoded", #116

Open
michaelchemani opened this issue May 23, 2017 · 0 comments

Comments

@michaelchemani
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant