Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3396866
D11180.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
745 B
Referenced Files
None
Subscribers
None
D11180.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11180: [lib] Silence incomplete auth metadata message with UsingCommServicesAccessToken conditional
Attached
Detach File
Event Timeline
Log In to Comment