Support multiple claim in JwtGrantedAuthoritiesConverter. #10439
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Now JwtGrantedAuthoritiesConverter only support one claim (
scp/scope
->SCOPE_
), now we have request to support multiple claims. For example:So I suggest to implement
JwtGrantedAuthoritiesConverter
like this:And use it like this:
The text was updated successfully, but these errors were encountered: