Repository navigation
feat(auth): explicit local-admin OIDC linking (B2 release blocker) - #644
Merged
Merged
Conversation
Add a local-admin-only BeginOIDCLink RPC and a short-lived single-use intent that binds verified issuer+subject only after the OIDC callback. Preserve local break-glass grants and role ownership, require explicit role mapping for privileged roles, and keep state/nonce/PKCE/session rotation protections. Add fail-closed REST/RPC fixtures for replay, expiry, identity collision, role conflict, stale sessions, and local-login preservation. Document operator steps and ADR 0051. Regenerate proto/MCP artifacts. No live IdP or credential evidence.
athNdev
force-pushed
the
codex/oidc-admin-linking
branch
from
November 20, 2026 06:23
395dbc5 to
c3b1913
Compare
# Conflicts: # README.md # docs/carbon-panel/src/content/docs/guides/mcp-server.mdx
Owner
Author
|
OpenCode implementation-owner checkpoint at exact head Verified locally at this head:
Independent free-model exact-head review: MERGE, no HIGH/MEDIUM findings. Packaged authentik 2026.8.5 provider journey remains as evidenced at tested build |
# Conflicts: # README.md # docs/adr/0034-mcp-server-distribution.md # docs/carbon-panel/src/content/docs/guides/mcp-server.mdx # docs/evidence/mcp-gate-separation.md # docs/runbook-mcp-smoke.md # internal/mcp/family_audit_matrix.json # internal/mcp/integration_catalog.go # internal/mcp/integration_coverage_test.go
# Conflicts: # README.md # docs/adr/0034-mcp-server-distribution.md # docs/carbon-panel/src/content/docs/guides/mcp-server.mdx # docs/evidence/mcp-gate-separation.md # docs/runbook-mcp-smoke.md # internal/mcp/family_audit_matrix.json # internal/mcp/integration_catalog.go # internal/mcp/integration_coverage_test.go
# Conflicts: # knowledge/decisions/adrs-decision-records-2.md
# Conflicts: # internal/mcp/catalog_data.go
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.
Scope
Add a Settings action for explicit, browser-bound local-admin OIDC linking. The controller verifies issuer and subject, rechecks the initiating local session, and commits identity binding and provider-role reconciliation together. Local and provider-owned role grants stay independent in storage, login authorization, and operator edits. API credential management for linked local accounts requires local access.
Verification
da869d661fd89000758f9d1285fc39c49b93bf4f. The full MCP package passed in WSL after regenerating catalog metadata, classifying the link as browser-only, and refreshing audit anchors. The hosted verification run is pending.6b40cce6d936a1d259d2466eb398a1f2e007efa7c8597db2e3643d003575f342. The change from that build to the current PR head is limited to MCP audit source references.OSS-367 · OSS-246