Skip to content

Pass BearerTokenAuthenticationToken#details to JwtAuthenticationConverter in addition to the JWT #19328

@reda-alaoui

Description

@reda-alaoui

Expected Behavior

I expect JwtAuthenticationConverter#convert to receive BearerTokenAuthenticationToken#details in addition to the jwt.

Current Behavior

JwtAuthenticationConverter#convert only receives the jwt.

Context

To authenticate a BearerTokenAuthenticationToken I need to access the BearerTokenAuthenticationToken#details from JwtAuthenticationConverter#jwtPrincipalConverter. This prevents me to use JwtAuthenticationProvider.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions