I'm looking for a replacement of #oauth2.isUser() (used in @PreAuthorize expressions) in Spring Security 5.x. It exists it Spring Security OAuth 2.x, but this library is deprecated.
The reason we need this is to require 3-legged tokens.
I'm looking for a replacement of #oauth2.isUser() (used in @PreAuthorize expressions) in Spring Security 5.x. It exists it Spring Security OAuth 2.x, but this library is deprecated.
The reason we need this is to require 3-legged tokens.