Replace browser login with edge-asserted identity#51
Merged
czpython merged 1 commit intoJul 23, 2026
Merged
Conversation
czpython
force-pushed
the
commonzenpython/eng-729-edge-identity-extract-request-actor-context-pr-1
branch
from
July 21, 2026 20:58
f1971b5 to
0c7a693
Compare
Base automatically changed from
commonzenpython/eng-729-edge-identity-extract-request-actor-context-pr-1
to
main
July 21, 2026 20:59
czpython
force-pushed
the
commonzenpython/eng-730-edge-identity-headernone-door-cutover-onboarding-deploy
branch
4 times, most recently
from
July 23, 2026 20:47
a8a25bb to
8bce775
Compare
czpython
force-pushed
the
commonzenpython/eng-730-edge-identity-headernone-door-cutover-onboarding-deploy
branch
from
July 23, 2026 20:48
8bce775 to
150883b
Compare
czpython
deleted the
commonzenpython/eng-730-edge-identity-headernone-door-cutover-onboarding-deploy
branch
July 23, 2026 20:51
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
druks stops authenticating browsers: the edge asserts identity and druks verifies and maps it to an account, per request.
DRUKS_AUTH_MODE=none(loopback dashboard: no authentication, exactly one operator account, created by the first harness connect) orheader(the edge injects the operator's email inDRUKS_AUTH_HEADER— no default, the operator names their edge's header; open enrollment, the edge gates who reaches druks).jwtfollows in Add verified JWT edge assertions via JWKS #52.fastapi.security.HTTPBearer; a presentAuthorizationnever falls through), else the edge/none identity. Redis sessions, cookies, and the login/logout surface are deleted. No DB migration.POST/DELETE /api/harnesses/{name}/connection...attaches a subscription to the current account; in none/zero the first completed connection creates the sole operator. Capability management (tokens and disconnect) admits the session identity only (current_session_account), never a bearer.GET /api/auth/me(IdentityBootstrap; first run renders Onboarding), query cache keyed by account.🤖 Generated with Claude Code