Skip to content

Add verified JWT edge assertions via JWKS#52

Merged
czpython merged 1 commit into
mainfrom
commonzenpython/eng-732-edge-identity-verified-jwt-edge-assertions-via-jwks-pr-3
Jul 23, 2026
Merged

Add verified JWT edge assertions via JWKS#52
czpython merged 1 commit into
mainfrom
commonzenpython/eng-732-edge-identity-verified-jwt-edge-assertions-via-jwks-pr-3

Conversation

@czpython

Copy link
Copy Markdown
Owner

Third auth mode for the edge-identity arc: DRUKS_AUTH_MODE=jwt verifies an edge-signed assertion carried in DRUKS_AUTH_HEADER — RS256 against the edge's published JWKS (five-minute key cache, refetch on rotation), pinned iss/aud/exp, and the verified identity claim (default email) mapped through the same open-enrollment path header mode uses. Verification fails closed with a typed error naming only the failure class; the raw token never reaches an error or log. Bearer PATs still resolve first and the Authorization slot stays PAT-only.

Part of ENG-732 (edge-identity arc, PR 3 of 3; stacked on #51).

The pinned JWT profile (RS256, required iss/aud/exp, email claim) must be confirmed against the first real provider before the mode is enabled anywhere — tracked as the ticket's standing caveat.

🤖 Generated with Claude Code

@czpython
czpython force-pushed the commonzenpython/eng-730-edge-identity-headernone-door-cutover-onboarding-deploy branch 3 times, most recently from 340cc9f to a8a25bb Compare July 23, 2026 20:44
@czpython
czpython force-pushed the commonzenpython/eng-730-edge-identity-headernone-door-cutover-onboarding-deploy branch 2 times, most recently from 8bce775 to 150883b Compare July 23, 2026 20:48
Base automatically changed from commonzenpython/eng-730-edge-identity-headernone-door-cutover-onboarding-deploy to main July 23, 2026 20:51
@czpython
czpython force-pushed the commonzenpython/eng-732-edge-identity-verified-jwt-edge-assertions-via-jwks-pr-3 branch from 520dd9a to 5049db9 Compare July 23, 2026 21:01
@czpython
czpython force-pushed the commonzenpython/eng-732-edge-identity-verified-jwt-edge-assertions-via-jwks-pr-3 branch from 5049db9 to 9a17f5f Compare July 23, 2026 21:27
@czpython
czpython merged commit 911a9ee into main Jul 23, 2026
2 of 3 checks passed
@czpython
czpython deleted the commonzenpython/eng-732-edge-identity-verified-jwt-edge-assertions-via-jwks-pr-3 branch July 23, 2026 21:34
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