GeezerVison is showing github.com — test(idp-provider): test-RP example + live loop proof harness (#13409) by dezren39 · Pull Request #13755 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Slice 3, step 3 of #13409 (story #13658): the test relying party and the live loop proof.
examples/test-rp.rs — a minimal relying party that completes the full authorization-code + PKCE loop over real HTTP against a running provider: discovery → JWKS → POST /authorize through the devtoday local door → code redirect → POST /token → ID-token verification against the JWKS key → GET /userinfo. RP_MODE=deny runs the non-allowlisted attempt and treats the 403 as success. It prints a one-line JSON verdict including the in-process loop latency.
src/flow.rs — the ID token's sub now comes from the authorization code's account record (the field was previously unread; no behaviour change for the single-account registry).
- README — a short "Loop proof" section documenting the harness.
Live proof (laptop, against the running release binary, real Slice 2 key): all five proof-bar items pass — the evidence comment with the measured footprint/latency is on #13409. Crate tests remain 8 passed, 0 failed.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T21:11:39Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Slice 3 step 3: examples/test-rp.rs, a minimal relying party that
completes the full authorization-code + PKCE loop over real HTTP
against a running provider (discovery, JWKS, authorize via the
local door, token exchange, ID-token verification against the JWKS
key, userinfo), with a deny mode for the non-allowlisted attempt.
Also takes the ID token sub from the authorization code's account
record in the token handler (was an unread field).
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 41 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
6848a0c2-4853-4228-920b-eb7a257df064
Commits
-
Reviewing files that changed from the base of the PR and between bf7040d and d0bf136.
Files selected for processing: 3
-
pkgs/idp-provider/README.md
pkgs/idp-provider/examples/test-rp.rs
pkgs/idp-provider/src/flow.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
This was referenced Nov 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|