From 48d45d5f3aab49835bd3dd69d5f96b49712ac3ab Mon Sep 17 00:00:00 2001 From: Gregory Goijaerts Date: Mon, 11 Dec 2023 11:42:42 +0100 Subject: [PATCH] Set outlook prompt authorization parameter --- lib/oauth/outlook.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/oauth/outlook.js b/lib/oauth/outlook.js index e5143c4f..00b72272 100644 --- a/lib/oauth/outlook.js +++ b/lib/oauth/outlook.js @@ -92,6 +92,7 @@ class OutlookOauth { url.searchParams.set('redirect_uri', this.redirectUrl); url.searchParams.set('response_mode', 'query'); url.searchParams.set('client_info', '1'); + url.searchParams.set('prompt', 'select_account'); url.searchParams.set('scope', this.scopes.join(' ')); if (opts.state) {