From 777ddb4069ce9e9b99c32ff741259137a948c523 Mon Sep 17 00:00:00 2001 From: Loic Masi Date: Tue, 21 Apr 2026 16:27:40 +0200 Subject: [PATCH] =?UTF-8?q?#1=20:=20J'effectue=20le=20dab,=20dans=20des=20?= =?UTF-8?q?endroits=20inad=C3=A9quats.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Webzine.WebApplication/Program.cs | 2 +- Webzine.WebApplication/appsettings.Production.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Webzine.WebApplication/Program.cs b/Webzine.WebApplication/Program.cs index 49ced75..999fe72 100644 --- a/Webzine.WebApplication/Program.cs +++ b/Webzine.WebApplication/Program.cs @@ -212,7 +212,7 @@ try // Désactive PAR pour éviter l’erreur "Invalid parameter: redirect_uri" options.PushedAuthorizationBehavior = PushedAuthorizationBehavior.Disable; - options.SaveTokens = true; + options.SaveTokens = false; options.GetClaimsFromUserInfoEndpoint = false; options.Scope.Clear(); diff --git a/Webzine.WebApplication/appsettings.Production.json b/Webzine.WebApplication/appsettings.Production.json index 87c9777..d6cb3ec 100644 --- a/Webzine.WebApplication/appsettings.Production.json +++ b/Webzine.WebApplication/appsettings.Production.json @@ -7,7 +7,7 @@ }, "Keycloak": { "Authority": "https://10.4.0.131/keycloak/realms/webzine-realm", - "MetadataAddress": "https://10.4.0.131/keycloak/realms/webzine-realm/.well-known/openid-configuration", + "MetadataAddress": "https://10.4.0.131/realms/webzine-realm/.well-known/openid-configuration", "PublicOrigin": "https://10.4.0.131" } -} \ No newline at end of file +}