This repository was archived by the owner on Oct 31, 2026. It is now read-only.
Repository navigation
Broker 0.9.0: browser binding on every path, standards fixes, standards page - #19
Merged
Merged
Conversation
…ds page Every authorization request now sets the transaction cookie, so a first-party sign-in is bound to the browser that started it (RFC 9700 section 2.1.1). Request Objects are refused, the issuer must be secure, every 401 carries a challenge, and a parameter without a value counts as omitted. PKCE and base64url come from oauth4webapi and jose. docs/standards.md lists each standard and its status. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What
Fixes
txnCookieHashis now required.requestandrequest_urianswerrequest_not_supportedandrequest_uri_not_supportedinstead of being ignored (OIDC Core sections 6.1 and 6.2)./tokencarriesWWW-Authenticate(RFC 9110 section 15.5.2).Less custom code
oauth4webapi, and base64url fromjose.component/crypto.tsis gone.Docs
docs/standards.mdlists each standard, its sections, and its status. It also lists what is not implemented.docs/design.mdno longer claim things the code does not do.Deploying this
txnCookieHashis required, so Convex refuses the schema push whileauthRequestsholds an older row. RunidentityBroker:cleanupon the hub just before the deploy. Cleanup deletes only expired rows, so a sign-in from the last 10 minutes can still block the push. A refused push leaves the old code running. Wait 10 minutes, run cleanup again, and deploy again. A staged rollout with an optional field would add a second release and a legacy path, for a hub with very few sign-ins.Tests
pnpm run check: 90 tests pass.openid-clientand real Chrome, for first-party and third-party apps. A second browser without the cookie is refused.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.