Skip to content

fix: support current auth Provider and Verifier compositions - #20

Merged
y1o1 merged 2 commits into
developfrom
fix-auth-candidate-compatibility
Sep 6, 2026
Merged

y1o1 merged 2 commits into
developfrom
fix-auth-candidate-compatibility

Conversation

@y1o1

@y1o1 y1o1 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Provin's released composition uses the old collector context and implicit endpoint/key wiring. Substituting the current auth Provider and Verifier failed to compile, then failed at startup and denied every scopeless DID request.

This change aligns Zod throughout workspace/generated dependency graphs, adapts the verified-subject and untrusted-context APIs while retaining 0.3.x compatibility, wires the separated JWKS/key-resolver modules, and updates generated configuration. An explicit Owner DID rule admits only the declared request surface; other policy groups and downstream registry ACLs still decide permissions. Current Verifier issuer/audience checks remain enabled.

Validation: build/typecheck/full tests with released dependencies and locally packed candidate Provider 8f97fa6 / Verifier a7465a2; generated apps build, typecheck and boot with candidate packages; real DID issuance and tampered-signature rejection; HTTP allow/deny including non-Owner subjects and wrong issuer/audience. Three new collector regressions failed before the fix and passed afterward.

Generated auth release pins remain unchanged. docs/upstream-compatibility.md describes the dependency/config migration and expiry-based revocation boundary; no package or image is published by this PR.

Also refresh four vulnerable transitive dependencies (js-yaml, qs, nanoid and brace-expansion) within existing compatible ranges and add a CI audit gate. The updated full dependency audit reports zero advisories.

@y1o1
y1o1 merged commit f12fb8f into develop Sep 6, 2026
3 checks passed
@y1o1
y1o1 deleted the fix-auth-candidate-compatibility branch September 6, 2026 01:29
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.

1 participant