Skip to content

Commit 5858374

Browse files
standalone annotation
1 parent 6716133 commit 5858374

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

streamlibs/operations/standaloneAnnotation/milo-collab-init.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ import { setupBlockActionModal } from '../../utils/block-action-modal.js';
5353
}
5454

5555
const API_ENDPOINT = 'https://adobe-acom-stream-service-deploy-ethos502-prod-or2-1de07c.cloud.adobe.io/api';
56-
const token =
57-
params.get('token') || localStorage.getItem('stream_token');
56+
const token = params.get('token') || window.adobeIMS.getAccessToken().token;
5857

5958
if (!token) {
6059
console.error('[milo-collab-init] No auth token found.');

0 commit comments

Comments
 (0)