jjwt icon indicating copy to clipboard operation
jjwt copied to clipboard

RequireIssuer checks multiple issuers

Open oussamaachech opened this issue 5 years ago • 6 comments

It would be nice if the JwtParserBuilder requireIssuer can accept an array of issuer Strings in order to check if the 'iss' from the parsed jwt token matches one of these issuers.

oussamaachech avatar Jun 24 '20 04:06 oussamaachech

This should be completed as part of #336

lhazlewood avatar Jul 11 '20 16:07 lhazlewood

This issue has been automatically marked as stale due to inactivity for 60 or more days. It will be closed in 7 days if no further activity occurs.

stale[bot] avatar Nov 09 '20 21:11 stale[bot]

Closed due to inactivity.

stale[bot] avatar Nov 21 '20 02:11 stale[bot]

Is anybody implementing it? If not I can take this issue.

ars-java avatar Nov 26 '20 22:11 ars-java

Reopening. However, we're introducing a new validation framework for 1.0, so the implementation of this will be dependent upon that, so please no pull requests for this feature just yet - until that is finished.

lhazlewood avatar Feb 17 '21 18:02 lhazlewood

This issue has been automatically marked as stale due to inactivity for 60 or more days. It will be closed in 7 days if no further activity occurs.

stale[bot] avatar Jul 10 '22 18:07 stale[bot]

Closing this in favor of #474 . The require* methods were too numerous and didn't do nearly enough, but #474 will allow an entire range of validations.

lhazlewood avatar Aug 11 '23 21:08 lhazlewood