diff --git a/packages/backend-app-api/src/services/implementations/auth/authServiceFactory.ts b/packages/backend-app-api/src/services/implementations/auth/authServiceFactory.ts index c2b4236f45..7e9ad3077f 100644 --- a/packages/backend-app-api/src/services/implementations/auth/authServiceFactory.ts +++ b/packages/backend-app-api/src/services/implementations/auth/authServiceFactory.ts @@ -167,6 +167,7 @@ class DefaultAuthService implements AuthService { const { type } = internalForward.principal; switch (type) { + // TODO: Check whether the principal is ourselves case 'service': return this.tokenManager.getToken(); case 'user':