Oauth2Error is not serializable #4944
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: bug
A general bug
Milestone
Summary
I'm integrating OAuth2 in a project that uses Redis to persist sessions. Whenever an OAuth2Error is thrown Redis will try to serialize this error to store it. This will fail since org.springframework.security.oauth2.core.OAuth2Error isn't serializable.
The following exception is thrown:
Version
spring-security-oauth2-core-5.0.0.RELEASE.jar
The text was updated successfully, but these errors were encountered: