From c3c2998433d1c0f4ef5465c672b332b779635018 Mon Sep 17 00:00:00 2001 From: Alvin Alaphat <33328305+alvinalaphat@users.noreply.github.com> Date: Wed, 3 Apr 2024 16:22:52 -0700 Subject: [PATCH] Fixes authentication issue for most users Not sure what that snippet of code expects in terms of how the app was registered but it's not necessary for an out of the box implementation. Most users are having issues with this code because of that extra param. Removing it resolves the issue. --- .../file-picking/javascript-basic-consumer/index.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/samples/file-picking/javascript-basic-consumer/index.html b/samples/file-picking/javascript-basic-consumer/index.html index 36f1834..3892e71 100644 --- a/samples/file-picking/javascript-basic-consumer/index.html +++ b/samples/file-picking/javascript-basic-consumer/index.html @@ -20,13 +20,6 @@ origin: "http://localhost:3000", channelId: "27" }, - typesAndSources: { - mode: "files", - pivots: { - oneDrive: true, - recent: true, - }, - }, }; let win = null; @@ -179,4 +172,4 @@ - \ No newline at end of file +