talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

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

Use localhost instead of 127.0.0.1 for Microsoft Oauth2

RedirectURIs in Azure must "start with https:// or http://localhost"

Diffstat:
Msrc/oauth2.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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",