Refresh token parsing error with Java SDK

Hey, we're using your Java SDK and it's giving us a serialization error, when it's trying to parse the refresh token.
java.text.ParseException: Invalid serialized unsecured/JWS/JWE object: Missing second delimiter
java.text.ParseException: Invalid serialized unsecured/JWS/JWE object: Missing second delimiter
it is trying to parse the refresh token as a JWT, however from the value, it looks more like a opaque token. I think this is a bug and the refresh token should not be parsed, but used as-is?
5 Replies
theplay3r
theplay3rOP4w ago
I've highligted the issue here on GitHub.
GitHub
Issues · kinde-oss/kinde-java-sdk
Kinde SDK for Java. Contribute to kinde-oss/kinde-java-sdk development by creating an account on GitHub.
Ages - Kinde
Ages - Kinde4w ago
Hey,
Thanks for raising this. I've passed this to our internal team to take a closer look.
In the meantime, can you please confirm the current SDK version you're using?

Appreciate your patience, we’ll keep you posted as soon as we have an update.
Thanks
theplay3r
theplay3rOP4w ago
The latest - 2.0.1
Abdelrahman Zaki - Kinde
Hi @theplay3r, thanks for confirming the SDK version. While our internal team continues to investigate, would you be open to giving the Kinde Java Starter Kit a try? Let us know how it goes or if you'd like help getting started with it — happy to assist further!
GitHub
GitHub - kinde-starter-kits/kinde-java-starter-kit: Java starter ki...
Java starter kit for Kinde apps. Contribute to kinde-starter-kits/kinde-java-starter-kit development by creating an account on GitHub.
Abdelrahman Zaki - Kinde
Hi @theplay3r, Just a quick update — a PR has been raised to address the issue and is currently going through testing. In the meantime, did you happen to get a chance to try out the Kinde Java Starter Kit? We’d love to hear how it went or if you need any help getting it set up. Thanks again for your patience!

Did you find this page helpful?