Skip to content

Add support for auto-configuring ExpressionJwtGrantedAuthoritiesConverter #48490

@kalgon

Description

@kalgon

Currently, the auto-configured JwtAuthenticationConverter (defined in OAuth2ResourceServerJwtConfiguration) uses a JwtGrantedAuthoritiesConverter. It would be nice if an ExpressionJwtGrantedAuthoritiesConverter would be used if there is a property spring.security.oauth2.resourceserver.jwt.authorities-claim-expression.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions