Skip to content

chore(env): remove deprecated env configuration#1787

Open
MrDirkelz wants to merge 4 commits into
mainfrom
1685-app-api-clear-out-deprecated-environmental-variables
Open

chore(env): remove deprecated env configuration#1787
MrDirkelz wants to merge 4 commits into
mainfrom
1685-app-api-clear-out-deprecated-environmental-variables

Conversation

@MrDirkelz

Copy link
Copy Markdown
Collaborator

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.

MrDirkelz and others added 3 commits July 7, 2026 10:12
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.
@MrDirkelz MrDirkelz linked an issue Jul 7, 2026 that may be closed by this pull request
@MrDirkelz MrDirkelz self-assigned this Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

APP, API: Clear out deprecated environmental variables

2 participants