I get this Serialisation Error with Redis, and don't know how to fix it?

Can anyone help?

More details here:

https://stackoverflow.com/questions/78859251/spring-oauth-client-bff-auth-flow-doesnt-work-with-redis-dont-know-why

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Sample

A link to a GitHub repository with a minimal, reproducible sample.

Reports that include a sample will take priority over reports that do not. At times, we may require a sample, so it is good to try and include a sample up front.

Comment From: dreamstar-enterprises

Closing issue. The bug was in the success and failure handler, where the default URI was not properly being cast to a string.