From b6bc10d680239785ae501bd71ea4371b7194200a Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 10 Dec 2025 16:00:29 -0800 Subject: [PATCH] debug(backup-service): log allowed services on init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../backup-service/src/shared/guards/service-auth.guard.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/services/backup-service/src/shared/guards/service-auth.guard.ts b/backend/services/backup-service/src/shared/guards/service-auth.guard.ts index 27e32f8d..80b07de2 100644 --- a/backend/services/backup-service/src/shared/guards/service-auth.guard.ts +++ b/backend/services/backup-service/src/shared/guards/service-auth.guard.ts @@ -24,6 +24,7 @@ export class ServiceAuthGuard implements CanActivate { this.secret = this.configService.get('SERVICE_JWT_SECRET') || ''; const allowedServicesStr = this.configService.get('ALLOWED_SERVICES') || 'identity-service,recovery-service'; this.allowedServices = allowedServicesStr.split(',').map(s => s.trim()); + this.logger.log(`[INIT] Allowed services: ${this.allowedServices.join(', ')}`); } canActivate(context: ExecutionContext): boolean {