test(jans-cedarling): add tests and fix bugs caught in testing #9995
Labels
area-CI
Issue or changes required in automatic builds or CI infrastructure
comp-jans-cedarling
Touching folder /jans-cedarling
enhancement
Is your feature request related to a problem? Please describe.
Certain scenarios that should be considered invalid are incorrectly marked as valid in the
JwtValidation
process. This can lead to security vulnerabilities and unexpected behavior in the application.Describe the solution you'd like
Enhance the test suite to ensure comprehensive coverage for all edge cases related to JWT validation. Specifically, the tests should verify that invalid tokens are correctly identified and flagged as such. The following cases should be included:
Access Token
access_token
is validaccess_token
is NOT validiss
,aud
,sub
,exp
nbf
ID Token
iss
of theid_token
is the same as theaccess_token
aud
of theid_token
is the same as theaccess_token
id_token
is validiss
of theid_token
is NOT the same as theaccess_token
aud
of theid_token
is NOT the same as theaccess_token
id_token
is NOT validiss
,aud
,sub
,exp
nbf
Userinfo Token
iss
of theuserinfo_token
is the same as theaccess_token
aud
of theuserinfo_token
is the same as theaccess_token
sub
of theuserinfo_token
is the same as theid_token
userinfo_token
is validiss
of theuserinfo_token
is NOT the same as theaccess_token
aud
of theuserinfo_token
is NOT the same as theaccess_token
sub
of theuserinfo_token
is NOT the same as theid_token
userinfo_token
is NOT validiss
,aud
,sub
,exp
nbf
Key Service
openid_configuration_uri
jwks_uri
The text was updated successfully, but these errors were encountered: