feat(jans-cedarling): relax JwtService validation to allow optional claims #10060
Labels
comp-jans-cedarling
Touching folder /jans-cedarling
enhancement
kind-feature
Issue or PR is a new feature request
Milestone
Is your feature request related to a problem? Please describe.
The current validation in JwtService is overly strict, requiring fields that may not be present in all token scenarios. This can prevent certain tokens from being accepted even when they are otherwise valid for Cedarling's purposes. We need more flexibility to allow for tokens that might be missing some non-essential claims.
Describe the solution you'd like
iss
should be OPTIONALaud
should be OPTIONALsub
should be OPTIONALexp
should be OPTIONAL but check validity if there is onenbf
should be OPTIONAL but check validity if there is oneThe text was updated successfully, but these errors were encountered: