-
Notifications
You must be signed in to change notification settings - Fork 44
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
"The JWT could not be de-serialized." #48
Comments
What versions of java are you targeting in each environment? |
Java 1.8 for both. I'm going to try a build now with the minify/obfuscate stuff taken out. |
Possibly related: No idea if this library will work in Dalvik or Android runtime (ART). |
Ok it's working for me without the minify/obfuscate stuff. I don't know much about proguard rules but I'll try to investigate when I get some time. My app is only being pushed for internal testing right now so low urgency. Thanks for the help. |
This is for a kotlin-based Android project.
I'm calling
Mapper.deserialize(bytes, JSONWebKey::class.java)
and it works completely fine on my dev build from android studio, but in a prod release it throws an InvalidJWTException error with the message "The JWT could not be de-serialized."Any idea what the issue is? Do I need to add some proguard rules?
The text was updated successfully, but these errors were encountered: