[Commits] [SCM] claws branch, master, updated. 4.1.0-32-g42520ed14

colin at claws-mail.org colin at claws-mail.org
Fri May 27 08:58:01 UTC 2022


The branch, master has been updated
       via  42520ed14fdfb2805cd5a65743ee63ac5cfc4c08 (commit)
      from  a166d44844bec5c6320479770d875278670deab5 (commit)

Summary of changes:
 src/oauth2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 42520ed14fdfb2805cd5a65743ee63ac5cfc4c08
Author: Colin Leroy-Mira <colin at colino.net>
Date:   Fri May 27 10:56:53 2022 +0200

    Use localhost instead of 127.0.0.1 for Microsoft Oauth2
    
    RedirectURIs in Azure must "start with https:// or http://localhost"

diff --git a/src/oauth2.c b/src/oauth2.c
index fe0bd1f02..896d3bb88 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -64,7 +64,7 @@ static gchar *OAUTH2info[4][17]={
   {"login.microsoftonline.com",
    "",
    "",
-   "http://127.0.0.1:8888",
+   "http://localhost:8888",
    "/common/oauth2/v2.0/authorize",
    "/common/oauth2/v2.0/token",
    "/common/oauth2/v2.0/token",
@@ -81,7 +81,7 @@ static gchar *OAUTH2info[4][17]={
   {"login.microsoftonline.com",
    "",
    "",
-   "http://127.0.0.1:8888",
+   "http://localhost:8888",
    "/common/oauth2/v2.0/authorize",
    "/common/oauth2/v2.0/token",
    "/common/oauth2/v2.0/token",

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list