Skip to content

Allow a set of issuers during JWT verification #855

@danielbobbert

Description

@danielbobbert

Our (Quarkus) service needs to verify JWTs from different sources. We can handle the different keys using a JWKS, but mp.jwt.verify.issuer currently only allows to specify a single issuer.

It would be nice if mp.jwt.verify.issuer (or "mp.jwt.verify.issuers"?!) allowed to specify a comma-separated list of potential issuers (much like mp.jwt.verify.audiences), that would be passed as expectedIssuers to the JWTAuthContextInfo, such that builder.setExpectedIssuers(String...) could be used in DefaultJWTTokenParser (jose4j already supports a set of allowed issuers)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions