Skip to content

OAuth2 Resource Server Auto-Configuration can only configure a single JWS algorithm #31321

Closed

Description

@wilkinsona

See PR #31230 for background.

Activity

  1. added this to the 2.7.x milestone on Jun 9, 2022
  2. self-assigned this
    on Jun 9, 2022
  3. wilkinsona commented on Jun 9, 2022

    @wilkinsona
    MemberAuthor

    The differences between using a JWK Set URI and a public key location present an interesting problem. We configure both using the same jws-algorithm property but only the former can potentially support multiple values when creating the JWT decoder.

    Use of a JWS Set URI or a public key location is mutually exclusive and we'll only ever auto-configure one decoder. This means that we could change both to use the new jws-algorithms property. We'd then have to handle the case where multiple algorithms and a public key location have been configured. I've implemented a proposal for this in this branch. Flagging for team attention as I'd like to see if we're in agreement on this being a good idea…

  4. mhalbritter commented on Jun 10, 2022

    @mhalbritter
    Contributor

    Your changes look good to me.

  5. modified the milestones: 2.7.x, 2.7.1 on Jun 16, 2022
  6. added a commit that references this issue on Jun 16, 2022
    a1cc5bf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions