Skip to content

Commit

Permalink
chore: wip -- remove backend guard
Browse files Browse the repository at this point in the history
  • Loading branch information
kasir-barati committed May 16, 2024
1 parent 5a17868 commit 8466003
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/backend/auth/src/lib/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,8 @@ export class AuthController {
return userInfo;
}

@UseGuards(JwtAuthGuard)
@Get('logout')
@Redirect()
@ApiBearerAuth()
@ApiOperation({
summary:
'Log the User out of the OAuth server SSO session using a GET request',
Expand All @@ -187,11 +185,6 @@ export class AuthController {
type: InternalServerErrorException,
description: 'Internal server error.',
})
@ApiUnauthorizedResponse({
type: UnauthorizedException,
description:
'Could not validate and verify the provided JWT token',
})
@ApiBadRequestResponse({
type: ErrorResponseDto,
description: 'Bad request.',
Expand Down

0 comments on commit 8466003

Please sign in to comment.