Hi, I have a ktor setup with JWT authentication, a...
# ktor
a
Hi, I have a ktor setup with JWT authentication, and i have my own version of RSA algorithm overriding sign and verify. When minify is enabled in android project, RSA algorithm's sign is called, but not the verify. It works fine when minify is disabled. I have added --keep for all the related classes in proguard, but still it doesn't work. When the api is hit, Unauthorized 401 is returned. any idea?
a
Can you reproduce the problem with the latest version of Ktor 3.3.1?
a
Looks like many changes to be done for this, will update on this..
FYI, This solved the issue. -keep class com.fasterxml.jackson.core.type.TypeReference { *; } Some where in JWT init/decode it failed. After adding this along with -keep class com.auth0.jwt.** { *; } , it is sorted out. @Aleksei Tirman [JB]
👍 1