Chat sign-in needs a live consent receipt; notice frozen as version 1 #59
Loading…
Reference in a new issue
No description provided.
Delete branch "heimdall/chat-consent-gate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Meta's ruling 2026-11-11 (operator-level), implemented as ordered.
Gate. The OIDC issuer is the chat tier. It now needs a live
ConsentReceiptforTrainingNotice.Version(one reading,ConsentEndpoints.HasLiveReceiptAsync, shared by authorize, token, userinfo and the logout reconciler)./auth/bifrost/consent?returnUrl=<the parked /connect/authorize?request_uri=...>; no code, no OIDC error. Checked last, so suspended/no-identity/reserved are refused as before. Agreeing 303s back to the return path (local paths only) and the request resumes (single use, 10 min).invalid_grant. Userinfo: 403insufficient_access, no claims; existing access tokens stop answering as soon as the receipt goes. No refresh token exists./App, the members page and votes need no receipt (tested).Notice. Frozen as version 1 (was the unreleased "v2" draft). Says "Agreement is needed to speak in a recorded room" and "Lines you have already spoken stay"; both the consent page (notice now above the buttons) and the registration form render it beside the agree control. A test pins the text hash per version: text change requires a version bump. Nothing deployed, no production receipts: unreleased migrations
20261111090000/20261111100000untouched (the version is an int column; no schema change was needed, so editing or adding a migration would only add surface).Docs.
training-notice.md,oidc-issuer.md(gate, behaviour table, "Userinfo smoke notes for Eureka"),registration-gates.md.Tests. Baseline on
1571bf3: 38 failing (CultCache TS runtime absent, OIDC userinfo on .NET 10, concept tally). This branch: 42 failing = the same 38 plus 4 new tests whose positive assertion is userinfo 200 (the knownResults.JsonPipeWriter fault on the .NET 10 host runtime). With userinfo temporarily switched toResults.Text(not committed) the focused Oidc/Consent/Logout/Frozen set is 124/124 green. Mutations (gate removed at authorize; token+userinfo gate removed; version compare loosened to any receipt; withdrawn ignored; notice text edited without bump) each turn tests red.Gap: all of this runs on the in-memory provider; the filtered unique index and the Postgres unique-violation path are not exercised.
🤖 Generated with Claude Code
5064b4098ctodff217329f