Skip to content

examples: add OIDC JWKS validator workflow#834

Merged
EffortlessSteven merged 1 commit into
mainfrom
examples/oidc-jwks-validator-workflow
May 18, 2026
Merged

examples: add OIDC JWKS validator workflow#834
EffortlessSteven merged 1 commit into
mainfrom
examples/oidc-jwks-validator-workflow

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • turn examples/external/oidc-jwks-validation into a downstream-shaped validator workflow
  • add a tiny JWKS validator that accepts the valid RSA JWKS and returns stable rejection classes
  • add tests for duplicate kid, wrong kty, unsupported alg, and missing kid taxonomy-backed negatives
  • link the example from the OIDC/JWKS how-to and advance the active goal to the bundle product surface spec

User path

A Rust user can copy the clean-project example, run cargo test, and see how uselesskey fixtures drive both the valid OIDC/JWKS path and realistic validator rejection paths.

Boundary

This remains fixture workflow proof. It does not claim OpenID discovery behavior, provider compatibility, production signing-key custody, production verifier correctness, scanner evasion, or release readiness.

Proof

  • cargo +nightly test --manifest-path examples/external/oidc-jwks-validation/Cargo.toml
  • cargo +nightly clippy --manifest-path examples/external/oidc-jwks-validation/Cargo.toml --all-targets -- -D warnings
  • RUSTUP_TOOLCHAIN=nightly cargo xtask external-adoption-smoke --path .
  • RUSTUP_TOOLCHAIN=nightly cargo xtask adoption-regression --external
  • cargo +nightly xtask docs-sync --check
  • cargo +nightly xtask typos
  • cargo +nightly fmt --all -- --check
  • git diff --check

Known local gate gap

cargo +nightly xtask pr-lite currently fails in publish-check while dry-running unchanged uselesskey-rsa: the packaged crate resolves uselesskey-core@0.9.1 from crates.io and cannot find the newer local impl_pkcs8_spki_fixture_accessors macro. This PR only changes the external example, docs, and active goal state; the passing checks above cover the touched user path.

Receipts

  • external adoption smoke includes external-example-oidc-jwks-validation
  • adoption regression includes the external smoke path and OIDC bundle proof

Risk

No deterministic fixture identity changes. The only dependency addition is serde_json inside the standalone external example so the downstream validator can name serde_json::Value directly.

Rollback

This PR can be reverted independently before the bundle product surface spec work begins.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented May 18, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 23 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2db54380-9de0-4fea-bd91-a12782d0d3e8

📥 Commits

Reviewing files that changed from the base of the PR and between f0152cb and 5926550.

📒 Files selected for processing (6)
  • .uselesskey/goals/active.toml
  • docs/how-to/test-oidc-jwks-validation.md
  • examples/external/oidc-jwks-validation/Cargo.toml
  • examples/external/oidc-jwks-validation/README.md
  • examples/external/oidc-jwks-validation/src/lib.rs
  • examples/external/oidc-jwks-validation/tests/validator_workflow.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch examples/oidc-jwks-validator-workflow

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@EffortlessSteven EffortlessSteven merged commit 9b6342b into main May 18, 2026
5 checks passed
@EffortlessSteven EffortlessSteven deleted the examples/oidc-jwks-validator-workflow branch May 18, 2026 22:32
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