DefaultOAuth2UserService should extract authorities #7339
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
JwtGrantedAuthoritiesConverter
is handy in Resource Server for extracting each scope into individualGrantedAuthority
s:It'd be nice if
DefaultOAuth2UserService
did the same thing by default. Currently, it adds theOAuth2UserAuthority
to the list of granted authorities, so this ticket would serve to append severalSimpleGrantedAuthority
s to that list.Note that we should also keep #5349 in mind when completing this feature.
The text was updated successfully, but these errors were encountered: