GeezerVison is showing github.com — feat(pm-service): wire browser OAuth PKCE callback (#14261) by developing-today-fleet[bot] · Pull Request #15799 · developing-today/code
Conversation
Summary
GET /login
create state + nonce + verifier
persist pending login server-side
redirect with S256 challenge
GET /oauth/callback
validate state cookie + pending login
exchange code with verifier
validate provider token + nonce
issue opaque session cookie
/logout
delete session + clear cookie
Adds injectable provider and persistence seams, route integration in the Worker, unauthenticated rejection when auth is configured, and a registered test suite.
Evidence
bun test test/session.test.ts test/front-door.test.ts test/worker-auth.test.ts — 25 pass, 0 fail (local).
- Remote Fleet Actions run could not be dispatched: placement returned HTTP 403,
Resource not accessible by integration.
bun run typecheck could not run because @cloudflare/workers-types is absent in this checkout.
Merge Danger
Door: Two-way; the route integration can be reverted.
Blast Radius: Medium — authentication behavior changes for the PM Worker only when BROWSER_OAUTH is configured. Provider endpoints and session/pending stores remain deployment-injected; live OAuth and same-account linked-door validation are not included.
{
"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-26T23:30:43Z",
"session_id": "ses_e5de5e97af6ffevu3JfzA2LNzg",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code-g-24494-h3",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code-g-24494-h3",
"repo": "developing-today/code",
"branch": "code-g/24494-h3-callback-worker",
"sha": "b1af00d5fed7a0ca7ea1c9bcec3341273248ba84"
},
"auth_subject": "oc-code-08",
"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.
coderabbitai
Bot
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
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:
d99aa8c4-71f5-4b02-8b63-15ae6dd8cd50
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- 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 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
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.
|