Repository navigation
feat(auth): add opt-in OIDC browser member admission - #91
Open
juancarlosm wants to merge 1 commit into
Open
juancarlosm wants to merge 1 commit into
juancarlosm wants to merge 1 commit into
Conversation
juancarlosm
marked this pull request as ready for review
October 10, 2026 03:19
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.
A successful OIDC browser login currently rejects users who have no Artifact Server membership, even when the issuer already restricts access to a corporate directory. Add opt-in normal-member admission with
ARTIFACT_SERVER_OIDC_AUTO_ADMITand an optional exact email-domain registration list. Manual admission remains the default.Preserve administrator bootstrap, existing roles, and inactive-member denial when a bound subject changes its email. Apply the policy only to the configured OIDC browser flow; bearer/MCP, WorkOS, and local-owner admission retain their existing behavior. Recover the same-email first-login race reproduced against PostgreSQL replicas. Wire the policy through CLI, Worker/D1, and Helm without schema changes or new dependencies.
Validation: 374 root tests, 41 Worker tests, focused PostgreSQL concurrency/deactivation tests, build, lint, type checking, conformance validation, and Helm rendering passed locally. The full fork pipeline passed Linux iteration checks, macOS portability, packaged deployment checks, and image publication. The fork's publishing workflow and AWS RDS certificate checksum refresh are excluded from this PR.
Closes #89.