[Users] [PATCH] OAUTH2: Recognize client secret for MS Exchange

Julian Wollrath jwollrath at web.de
Wed Aug 23 08:51:12 UTC 2023


MS Outlook and MS Exchange require a client secret but setting a client
secret was ignored due to the field in OAUTH2info being empty. Fix this
by setting it.
---
 src/oauth2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/oauth2.c b/src/oauth2.c
index f9bd47802..87b9083d4 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -68,7 +68,7 @@ static gchar *OAUTH2info[4][17]={
    ""},
   {"login.microsoftonline.com",
    "",
-   "",
+   ".",
    "http://127.0.0.1:8888",
    "/common/oauth2/v2.0/authorize",
    "/common/oauth2/v2.0/token",
@@ -85,7 +85,7 @@ static gchar *OAUTH2info[4][17]={
    ""},
   {"login.microsoftonline.com",
    "",
-   "",
+   ".",
    "http://127.0.0.1:8888",
    "/common/oauth2/v2.0/authorize",
    "/common/oauth2/v2.0/token",
--
2.40.1



More information about the Users mailing list