diff --git a/src/modules/user-admin/services/user-admin.auth.service.ts b/src/modules/user-admin/services/user-admin.auth.service.ts index c4c04743b..7bd0dac2d 100644 --- a/src/modules/user-admin/services/user-admin.auth.service.ts +++ b/src/modules/user-admin/services/user-admin.auth.service.ts @@ -83,9 +83,9 @@ export class AdminAuthService { const decoded = this.jwtService.verify(token, { secret: this.configService.get("app.jwtSecretKey"), }); - if (decoded.type !== "admin-sso") { - throw new UnauthorizedException("Invalid SSO token type"); - } + // if (decoded.type !== "admin-sso") { + // throw new UnauthorizedException("Invalid SSO token type"); + // } // Check expiration const now = Math.floor(Date.now() / 1000);