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)
Our (Quarkus) service needs to verify JWTs from different sources. We can handle the different keys using a JWKS, but
mp.jwt.verify.issuercurrently 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 likemp.jwt.verify.audiences), that would be passed as expectedIssuers to theJWTAuthContextInfo, such thatbuilder.setExpectedIssuers(String...)could be used inDefaultJWTTokenParser(jose4j already supports a set of allowed issuers)