Skip to content

oidcjwt: add tests for security checks and concurrent access - #983

Open
geyingqi (mowangdk) wants to merge 1 commit into
agent-substrate:mainfrom
mowangdk:oidcjwt-test-coverage
Open

oidcjwt: add tests for security checks and concurrent access#983
geyingqi (mowangdk) wants to merge 1 commit into
agent-substrate:mainfrom
mowangdk:oidcjwt-test-coverage

Conversation

@mowangdk

@mowangdk geyingqi (mowangdk) commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

The Verifier.Verify method enforces several security invariants (audience match, subject required, time-binding validity, discovery issuer match) that had no direct test coverage. Add table-driven and standalone tests for each rejection path, plus a concurrent-access test to exercise the double-checked locking in key() under the race detector.

The Verifier.Verify method enforces several security invariants
(audience match, subject required, time-binding validity, discovery
issuer match) that had no direct test coverage. Add table-driven and
standalone tests for each rejection path, plus a concurrent-access
test to exercise the double-checked locking in key() under the race
detector.
@mowangdk
geyingqi (mowangdk) marked this pull request as ready for review August 16, 2026 14:14
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.

1 participant