spring-attic / spring-security-oauth

Support for adding OAuth1(a) and OAuth2 features (consumer and provider) for Spring web applications.
http://github.com/spring-projects/spring-security-oauth
Apache License 2.0
4.69k stars 4.05k forks source link

SimpleGrantedAuthority Local Class Incompatible Spring Boot Security Oauth #1931

Open kunaldeshkar opened 2 years ago

kunaldeshkar commented 2 years ago

Summary

Caused by: java.io.InvalidClassException: org.springframework.security.core.authority.SimpleGrantedAuthority; local class incompatible: stream classdesc serialVersionUID = 530, local class serialVersionUID = 520

Actual Behavior

When we are generating token for the first time its not getting generated and if try next time onwards it generates token

Expected Behavior

It should generate the token from the first call itself.

Configuration

Version

Spring Boot version 2.2.2.RELEASE

Sample