Skip to content

Complete 0.5 example consumers and signed provider qualification - #34

Open
smiggleworth wants to merge 9 commits into
developfrom
release/050-examples-complete-20261012
Open

smiggleworth wants to merge 9 commits into
developfrom
release/050-examples-complete-20261012

Conversation

@smiggleworth

@smiggleworth smiggleworth commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Complete the 0.5.0 example consumers and server-owned provider sessions. In particular, an expired session's private-data 401 now retires the visible private page and cached data, then recovers through login with next; the previous example retained private state until document reload.

  • Migrate all seven applications to the accepted 0.5.0 package surfaces and provide standalone install/build/runtime consumer coverage.
  • Exercise Auth0, Microsoft, Google and Apple in SSR and SPA using real signed simulated-provider exchanges, native HTTPS, protected actions, consent, logout and private-request cancellation.
  • Bind private-query recovery to its owning registry. A cancelled old request cannot invalidate a newer identity; 403/500 remain ordinary failures.
  • Record the 18-package candidate inventory and source/consumer evidence, including archive SHA-256/SRI checks.

Validation on the installed candidate graph: npm run check passes 166 workspace tests, 10 journey contracts, seven archive checks, lint, strict types, OpenAPI and installed-provider checks. All seven applications build. Provider TypeScript 6/7 and all 54 Chromium/Firefox/WebKit cases pass. The live-page expiry regression first failed with a real 401 and a retained private page, then passed after the fix.

The earlier independent-stage and downstream consumer receipts are documented in source acceptance. Final integrated-graph replay remains pending, including the newly merged Core #783. These follow-up checks reused installed candidates and do not claim a new clean-install or independent-stage receipt. At head 06cbac9461490f3b0dab55d42943818c94734b6e, all three hosted CI installs fail with E404 for unpublished @askrjs/vite@0.5.0; tests are skipped. CodeQL passes. Hosted integration remains blocked; no branch protection or workflow changes are included in this follow-up.

References #29, #30, #32 and askrjs/askr-auth#64. Live-provider qualification stays deferred in askrjs/askr-auth#71; every provider remains documented as pending live qualification. This PR targets develop and does not tag or publish.

Reuse the reviewed private application candidate against the frozen 18-package graph, migrate ordinary locks and repair installed Vite/TypeScript contracts. Add explicit provider CI gates and document the unresolved browser redirect transport boundary. Local source preparation for #29, #30 and #32; provider browser acceptance remains blocked.
`<form method="${provider === "apple" ? "post" : "get"}" action="${html(transaction.redirect)}">${[...result, ...(provider === "apple" ? [["user", JSON.stringify({ name: { firstName: "Unsigned", lastName: "Display Hint" } })]] : [])].map(([key, value]) => `<input type="hidden" name="${html(key!)}" value="${html(value!)}">`).join("")}<button id="continue" type="submit">Complete ${provider} sign in</button></form>`,
);
}
response.writeHead(303, { location: `${transaction.redirect}?${result}` });
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.

2 participants