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

[native-image] The string '{"typ":"JWT","alg":"HS256"}' doesn't have a valid JSON format. #1240

Open
hhandoko opened this issue May 5, 2019 · 0 comments
Assignees

Comments

@hhandoko
Copy link

hhandoko commented May 5, 2019

There seems to be an issue with Graal native image JWT token verification (JSON decoding) using 0auth JWT library. The method works in standard JVM but fails in native image with the following error:

The string '{"typ":"JWT","alg":"HS256"}' doesn't have a valid JSON format.

I've created a repo to reproduce this issue: https://github.com/hhandoko/graal-json-decoding-issue

Here's the relevant Graal native image compilation flags: https://github.com/hhandoko/graal-json-decoding-issue/blob/master/scripts/graal/bin/dist.sh#L73

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

No branches or pull requests

3 participants