diff --git a/federation/src/client/1_0/AuthenticationClient.ts b/federation/src/client/1_0/AuthenticationClient.ts index 8caad2343..104d62626 100644 --- a/federation/src/client/1_0/AuthenticationClient.ts +++ b/federation/src/client/1_0/AuthenticationClient.ts @@ -33,8 +33,9 @@ export class AuthenticationClient { logger.debug('openConnectionCallback with endpoint', this.endpoint, args) try { const { data } = await this.client.rawRequest(openConnectionCallback, { args }) + logger.debug('after openConnectionCallback: data:', data) - if (data && data.openConnectionCallback) { + if (!data || !data.openConnectionCallback) { logger.warn('openConnectionCallback without response data from endpoint', this.endpoint) return false }