OneDrive / samples

Contains samples, scenarios, and guidance for integrating with OneDrive and SharePoint drives, drive items, and files.
MIT License
53 stars 54 forks source link

Bypassing login flow in FilePicker v8 or FilePicker v7.2 with access token #69

Open tjain1511 opened 7 months ago

tjain1511 commented 7 months ago

I tried to pass the access token to FilePicker v8 instead of using acquireTokenSilent every time, but an exception of type 'Microsoft. Identity Model. Tokens Audience UriValidationFailed Exception' was thrown.

And for Filepicker v7.2, when passing access tokens to advanced parameters, it doesn't seem to work.