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:
1 parent
29ce8bd897
commit
c2ff225e59
6 files changed
+149
-102
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user