chore(env): remove deprecated env configuration#1787
Open
MrDirkelz wants to merge 4 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
These vars were superseded by the multi-provider OIDC feature (#1377): auth is now resolved entirely by AuthIdentityService via per-provider JWKS and claim/group mappings stored on AuthProvider docs. Nothing at runtime read configuration().auth, JWT_SECRET, or JWT_MAPPINGS anymore. Removes the vars and their now-orphaned wiring from configuration.ts, the api .env.example, the staging deploy workflow, the setup-dev.sh wizard (and its JWT-only helper functions), and stale references in docs and the socketio spec. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Remove legacy JWT_MAPPINGS from API env examples because auth mappings now live in AuthProvider and AutoGroupMappings docs. Drop unused PERMISSION_MAP configuration and the dead ChangeRequestService config fields that only existed to read it. Remove no-op VITE_FAV_ICON runtime favicon updates from app and CMS because index.html already uses VITE_LOGO_FAVICON. Remove CMS VITE_HIDE_PRIVACY_POLICY from the example env because CMS never reads it. Delete stale app plugin env guidance for VITE_PLUGIN_PATH and VITE_PLUGINS because plugin targets are now wired in buildTargetVirtuals. Remove dangling navigationItems return left by the existing branch cleanup. Verified: - api: npm run typecheck - cms: npm run type-check Note: app typecheck still fails due stale local luminary-shared installed types missing pruneUnsyncedLanguageContent; shared/src and shared/dist already export it.
johan-bell
approved these changes
Jul 7, 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.
Remove legacy JWT_MAPPINGS from API env examples because auth mappings now live in AuthProvider and AutoGroupMappings docs.
Drop unused PERMISSION_MAP configuration and the dead ChangeRequestService config fields that only existed to read it.
Remove no-op VITE_FAV_ICON runtime favicon updates from app and CMS because index.html already uses VITE_LOGO_FAVICON.
Remove CMS VITE_HIDE_PRIVACY_POLICY from the example env because CMS never reads it.
Delete stale app plugin env guidance for VITE_PLUGIN_PATH and VITE_PLUGINS because plugin targets are now wired in buildTargetVirtuals.
Remove dangling navigationItems return left by the existing branch cleanup.
Verified:
Note: app typecheck still fails due stale local luminary-shared installed types missing pruneUnsyncedLanguageContent; shared/src and shared/dist already export it.