Skip to content

JwtConfigurer should be fluent #5595

@jgrandja

Description

@jgrandja

The JwtConfigurer currently reads like this:

http
  .oauth2()
    .resourceServer()
      .jwt()
        .jwkSetUri(jwkSetUri)
      .jwt()
        .decoder(decoder);

However, it needs to read like this:

http
  .oauth2()
    .resourceServer()
      .jwt()
        .jwkSetUri(jwkSetUri)
        .decoder(decoder);

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configin: 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

Relationships

None yet

Development

No branches or pull requests

Issue actions