Commit Graph

8 Commits (main)

Author SHA1 Message Date
David Núñez d2a6ae919e Better exception handling for JWT condition evaluation 2025-03-23 10:46:16 +01:00
David Núñez 7a33522410 Be consistent with parameters that are not optional
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2025-03-23 10:46:16 +01:00
David Núñez cee5e36519 Test for JWTCondition expiration 2025-03-23 10:46:16 +01:00
David Núñez 9c8db5e688 Validate public key PEM format in JWT conditions
Co-authored-by: James Campbell <james.campbell@tanti.org.uk>
2025-03-23 10:46:16 +01:00
David Núñez 4ce01d2a60 Validate expected issuer in JWT token 2025-03-23 10:46:16 +01:00
David Núñez 5464006500 Make sure that JWT tokens can include custom claims 2025-03-23 10:46:16 +01:00
David Núñez a734dfca2d In JWT tests, define a token issuance function instead of hardcoding it 2025-03-23 10:46:16 +01:00
David Núñez bfba37db58 First iteration on JWTConditions 2025-03-23 10:46:16 +01:00