diff --git a/src/lib/utils/onedrive-file-picker.ts b/src/lib/utils/onedrive-file-picker.ts index 136d239294..198a8bcafb 100644 --- a/src/lib/utils/onedrive-file-picker.ts +++ b/src/lib/utils/onedrive-file-picker.ts @@ -78,7 +78,8 @@ class OneDriveConfig { const msalParams = { auth: { authority: `https://login.microsoftonline.com/${authorityEndpoint}`, - clientId: clientId + clientId: clientId, + redirectUri: window.location.origin } };