fix(web): appels API du circuit authentifiés après reload — cookie SSR propagé, purge au login/logout (Fixes #45)

This commit is contained in:
Arnaud Dartois committed 2026-08-11 11:59:18 +02:00
1 parent 29ce8bd897
commit c2ff225e59
6 files changed
+149 -102

No files matched your search

+1 -1
View File
@@ -350,7 +350,7 @@ public partial class Program {
options.LoginPath = "/login";
options.LogoutPath = "/_auth/signout";
options.AccessDeniedPath = "/not-found";
options.Cookie.Name = ".Heimdall.Auth";
options.Cookie.Name = AuthState.AuthCookieName;
options.Cookie.HttpOnly = true;
options.Cookie.SameSite = SameSiteMode.Lax;
// Use SameAsRequest to support both HTTP and HTTPS deployments