Bug Fixes
CI/Build Fixes
- fix(ci): Updated
pnpm-lock.yamlto include missing OIDC dependencies (oidc-client-ts,react-oidc-context) - fix(auth): Fixed TypeScript error TS7030 in REST auth middleware - ensured all code paths return consistent void values
Auth Middleware Improvements
- fix(auth): tRPC auth middleware now skips authentication when OIDC is disabled instead of throwing
INTERNAL_SERVER_ERROR - fix(auth): Admin role middleware skips role check when OIDC is disabled
- fix(test): Updated auth tests to reflect new skip behavior when OIDC is not configured
Details
This patch release fixes CI workflow failures that were occurring due to:
- Outdated lockfile missing frontend OIDC dependencies
- TypeScript compilation errors in auth middleware
- Auth middleware throwing errors instead of gracefully skipping when OIDC is not configured
Full Changelog: v1.5.0...v1.5.1