Page MenuHomePhabricator

D11180.diff
No OneTemporary

D11180.diff

diff --git a/lib/utils/identity-search-utils.js b/lib/utils/identity-search-utils.js
--- a/lib/utils/identity-search-utils.js
+++ b/lib/utils/identity-search-utils.js
@@ -3,6 +3,7 @@
import invariant from 'invariant';
import * as React from 'react';
+import { usingCommServicesAccessToken } from './services-utils.js';
import { IdentityClientContext } from '../shared/identity-client-context.js';
import { type IdentitySearchAuthMessage } from '../types/identity-search/auth-message-types.js';
@@ -12,7 +13,7 @@
const getAuthMetadata = identityContext.getAuthMetadata;
return React.useCallback(async () => {
- if (!getAuthMetadata) {
+ if (!getAuthMetadata || !usingCommServicesAccessToken) {
return null;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 2, 2:57 PM (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2607916
Default Alt Text
D11180.diff (745 B)

Event Timeline