Skip to content

sds-go: add NotExpired JWT claim requirement - #388

Merged
vinckama merged 1 commit into
mainfrom
vincent.roy/sds-go-jwt-not-expired
Aug 31, 2026
Merged

sds-go: add NotExpired JWT claim requirement#388
vinckama merged 1 commit into
mainfrom
vincent.roy/sds-go-jwt-not-expired

Conversation

@vinckama

@vinckama vinckama commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

The Rust ClaimRequirement enum already includes NotExpired, but the Go bindings only decoded Present, ExactValue, and RegexMatch. Unmarshaling a JwtClaimsValidator config with "type":"NotExpired" failed.

Add ClaimRequirementNotExpired with the same tagged-union JSON as Present.

ticket

The Rust ClaimRequirement enum already includes NotExpired, but the Go
bindings only decoded Present, ExactValue, and RegexMatch. Unmarshaling
a JwtClaimsValidator config with "type":"NotExpired" failed.

Add ClaimRequirementNotExpired with the same tagged-union JSON as Present.
@vinckama
vinckama requested a review from a team as a code owner August 28, 2026 17:21
@vinckama
vinckama changed the base branch from vincent.roy/sds-go-jwt-claims-validator to main August 31, 2026 07:27
@vinckama
vinckama merged commit 12e812f into main Aug 31, 2026
5 checks passed
@vinckama
vinckama deleted the vincent.roy/sds-go-jwt-not-expired branch August 31, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants