Closed dhirajsable closed 1 year ago
Hi! You can use the [toJson()
](https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-core/2.1.0/com/yubico/webauthn/data/PublicKeyCredentialCreationOptions.html#toJson()) and fromJson()
methods to serialize and deserialize the objects for storage. AssertionRequest has similar methods as well. We've chosen not to implement Serializable
since there are a lot of issues with it.
Thanks for response. Let me try it out
I hope that helped, I'll close this for now. You're welcome to re-open the issue if you're still encountering problems.
I have spring boot app with reds as a session storage and Whenever I tried to store PublicKeyCredentialCreationOptions in Redis cache then its giving issues as Object non-serializable. Is there any solution for this ?
Its working fine if I use in memory cache in app.