NestJS - Guards
Given this code snippet, what will happen if a request has an invalid JWT token?
```typescript
@UseGuards(JwtAuthGuard)
@Get('profile')
getProfile() {
return { message: 'Access granted' };
}
```
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions