Skip to content

OAuth2ResourceServerSpec should allow its ServerBearerTokenAuthenticationConverter to be configurable #6186

@edeandrea

Description

@edeandrea

Currently in ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec.configure(ServerHttpSecurity) the ServerBearerTokenAuthenticationConverter is hard-coded in the configure method. The non-reactive side (OAuth2ResourceServerConfigurer) allows for the user to supply a BearerTokenResolver. The reactive side should allow for the same.

I propose adding similar functionality to ServerHttpSecurity.OAuth2ResourceServerSpec for this.

I'm happy to supply a PR for this if you would like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions