learning_ai_common_plat/packages/auth
saravanakumardb1 99cbdf582c feat(auth): add middleware tests + E2E flow + migrate tracker-service to @bytelyst/auth
- Upgraded @bytelyst/auth middleware to throw ServiceError types (UnauthorizedError, ForbiddenError)
- Added @bytelyst/errors as dependency to auth package
- 11 new middleware tests (extractAuth + requireRole)
- 4 new E2E tests (full login → JWT → auth → role check flow)
- Refactored tracker-service lib/auth.ts from 48-line local impl to 1-line re-export
- Added @bytelyst/auth as tracker-service dependency
- All 277 tests pass, 0 regressions
2026-02-12 23:41:46 -08:00
..
src feat(auth): add middleware tests + E2E flow + migrate tracker-service to @bytelyst/auth 2026-02-12 23:41:46 -08:00
package.json feat(auth): add middleware tests + E2E flow + migrate tracker-service to @bytelyst/auth 2026-02-12 23:41:46 -08:00
tsconfig.json feat(auth): add @bytelyst/auth package 2026-02-12 11:19:58 -08:00