-
Notifications
You must be signed in to change notification settings - Fork 43
Open
nurudeenmuzainat/MixMatch-Backend
#1Labels
Description
Description:
Create middleware to guard protected routes using JWT validation.
Requirements:
- Use
@nestjs/passportwithPassportStrategy(JwtStrategy) - Inject user into Request object
- Middleware must support global guard usage via
@UseGuards(AuthGuard)
Acceptance Criteria:
- Any protected route must require a valid token
- Invalid tokens return 401
Reactions are currently unavailable