fix(dashboard): restrict JWT issuer allowlist
loading diff…
iss values.isDashboardOrigin CORS-style heuristics.isDashboardOrigin shortcut from the internal-dashboard JWT issuer check in apps/apollo/src/pages/api/internal-dashboard/_middleware/dashboard_auth.ts and instead call a dedicated allowlist helper.apps/apollo/src/pages/api/internal-dashboard/_middleware/issuer_allowlist.ts which extracts the issuer hostname and accepts it only when listed in DASHBOARD_JWKS_ALLOWED_DOMAINS.apps/apollo/src/pages/api/internal-dashboard/_middleware/issuer_allowlist.unit.test.ts that assert explicitly configured JWKS domains are accepted and preview/vercel/localhost wildcard origins are rejected.iss values are treated as acceptable before fetching /.well-known/jwks.json.pnpm --filter @composio/lib build, which succeeded.pnpm format and static lint checks for the modified files via the repo lint tooling (node tooling/oxlint/...) which completed with only a single unrelated warning for the touched files.cd apps/apollo && pnpm with-env vitest run src/pages/api/internal-dashboard/_middleware/issuer_allowlist.unit.test.ts --no-isolate, but the test run was blocked by environment and generated-artifact dependencies (missing Doppler secrets / environment variables, missing generated Prisma client .prisma/client/default), so the unit test execution failed in this environment.cd packages/db && CI=true pnpm db:generate) failed because the Prisma engine download was blocked (403), so full pnpm check-types and test runs are currently blocked by missing generated artifacts.