From 5c77317735650fefff18de720d2389045551aaf6 Mon Sep 17 00:00:00 2001 From: Jonathan Heard <49979415+jonath92@users.noreply.github.com> Date: Sun, 9 Jan 2022 12:25:24 +0100 Subject: [PATCH] All: Show login prompt for OneDrive (#5933) --- packages/lib/onedrive-api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lib/onedrive-api.ts b/packages/lib/onedrive-api.ts index 8eb42b79c..452fe627c 100644 --- a/packages/lib/onedrive-api.ts +++ b/packages/lib/onedrive-api.ts @@ -89,6 +89,7 @@ export default class OneDriveApi { scope: 'files.readwrite offline_access sites.readwrite.all', response_type: 'code', redirect_uri: redirectUri, + prompt: 'login', }; return `https://login.microsoftonline.com/common/oauth2/v2.0/authorize?${stringify(query)}`; }