Skip to content

Commit

Permalink
Merge pull request #66 from bcgov/fix/debug-request-info
Browse files Browse the repository at this point in the history
Check if jwt is provided in request
  • Loading branch information
hannah-macdonald1 authored Jan 8, 2025
2 parents 0b51c50 + 6996600 commit 01c56e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/guards/auth/auth.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class AuthGuard implements CanActivate {
return true;
}
const request = context.switchToHttp().getRequest();
this.logger.log({ request: request });
const controllerPath =
Reflect.getMetadata('path', context.getClass()) || '';
const isAuthorized = await this.authService.getRecordAndValidate(
Expand Down

0 comments on commit 01c56e0

Please sign in to comment.