We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a61fb5 commit a454f66Copy full SHA for a454f66
samples/file-picking/javascript-basic/scripts/auth.js
@@ -11,9 +11,11 @@ const app = new msal.PublicClientApplication(msalParams);
11
async function getToken(command) {
12
13
let accessToken = "";
14
+ let authParams = null;
15
16
switch (command.type) {
17
case "SharePoint":
18
+ case "SharePoint_SelfIssued":
19
authParams = { scopes: [`${combine(command.resource, ".default")}`] };
20
break;
21
default:
0 commit comments