spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

OAuth2AuthorizationRequest is not extendable

Open aranoverse opened this issue 1 year ago • 0 comments

Describe the bug

OAuth2AuthorizationRequest is not extendable

To Reproduce

the following is declaration of AuthorizationRequestRepository <T extends OAuth2AuthorizationRequest> and OAuth2AuthorizationRequest is final class. it means that we can not create new CustomOAuth2AuthorizationRequest which extends OAuth2AuthorizationRequest

  public interface AuthorizationRequestRepository <T extends OAuth2AuthorizationRequest> 

Expected behavior

OAuth2AuthorizationRequest should not be final class

aranoverse avatar Jul 03 '24 14:07 aranoverse