Repository navigation
Conversation
Bring the complete authentication/authorization subsystem and config manager that were missing from the core integration PR (#2127) — the expected paths were wrong (server/auth/, not auth/). Auth subsystem (server/auth/ — 37 files): - Core: dependencies, session manager, user manager, JWT manager, refresh token manager, API key manager, MCP credential manager - Gateway auth: gateway_auth_wiring, gateway_identity_authenticator, gateway_jwt_validator (RS256 validation against trusted JWKS) - OAuth: oauth_manager, routes (authorization code flow + PKCE) - OIDC: oidc_manager, oidc_provider, routes, state_manager (JIT user provisioning via OIDCManager) - Security: MFA challenge (TOTP), password strength validation, timing attack prevention, rate limiting (login + OAuth), concurrency protection, elevated session manager, audit logger - Error handling: auth_error_handler, login_outcome Config manager (server/utils/config_manager.py): - Central configuration system (185KB) — manages all server config state, feature flags, and runtime settings Additional server files: - app.py (FastAPI application factory) - app_state.py (application state management) - error_codes.py (error code definitions) - main.py (server entry point) Scrubbing applied: - K8s internal DNS replaced with localhost - Internal ticket references (EVO-NNNNN) removed - Internal email domains replaced - AWS account IDs replaced with placeholder - Disclosure scan passed
This was referenced Nov 5, 2026
- Neutralize internal MCP service names in config_manager.py and dependencies.py - Replace internal authorizer and gateway references with generic names - Clean up deployment-specific terminology in comments and docstrings
This was referenced Nov 9, 2026
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.
Summary
Syncs the complete authentication/authorization subsystem and configuration manager from the internal repository. These were missing from PR #2127 (core integration) because the expected file paths were wrong — they live under
server/auth/, notauth/.What's included
server/auth/(root)server/auth/oauth/server/auth/oidc/server/auth/gatewayserver/utils/server/rootGateway authentication files
These are the files that enable the EKS-tested gateway auth flow:
gateway_auth_wiring.py— dispatches authentication based on request sourcegateway_identity_authenticator.py— extracts identity from gateway JWTgateway_jwt_validator.py— RS256 JWT validation against trusted JWKS endpointScrubbing applied
*.svc.cluster.local) replaced withlocalhost@example.comACCOUNT_IDRelationship to other PRs
This completes the gap identified in PR #2127:
Suggested merge order
Merge-order dependencies
cidx-sdkpackagesReview findings