OneDrive javascript SDK doesn't seem to take scopes in account

Occasional Visitor

the 7.2 OneDrive js SDK doesn't take in account the scopes that we provide in the console and in the code. We provide only Files.Read and the prompt asks the user for read/write/delete authorization !

here is what we have in the console

Screenshot 2020-10-05 at 15.53.59.png

 

and here is how our code looks like

 

window.OneDrive.open({
      clientId,
      action: 'share',
      multiSelect: true,
      openInNewWindow: true,
      advanced: {
        redirectUri: getCurrentPageUri(),
      },
      success: onSuccess,
    })

 

 

0 Replies