5 Commits
Author SHA1 Message Date
Dat VuandDat H. Pham d043c98431 Move inline web scripts to files and enforce the nginx page policy (#5115)
* Move inline web scripts to files and enforce the nginx page policy

* Render CSP_* through the nginx image entrypoint and allow blob: in connect-src

* Allow CSP_IMG_SRC and document nginx add_header inheritance and connect-src ports

* Keep a read-only logo mount from stopping nginx and add optional CSP_REPORT_URI

* fix: start nginx when the root or a logo mount is read-only

* docs: document the web CSP variables and upgrade steps

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-08 10:54:57 +07:00
Đặng Đạt 6987d5c7b5 2509 Return to the app base, not the host root, after logout 2026-09-30 13:57:07 +07:00
Dang Dat 7a6444f4f3 2509 Drop redirect_uri handling from the logout callback
The page always redirects to / after logout, so a caller-supplied
redirect_uri was never actually used by the app itself, and there was no
check on the value before handing it to window.location.replace.

Also clear the OIDC transient keys from sessionStorage, where they
actually live (only localStorage was cleared before).
2026-09-30 13:57:07 +07:00
dab246 0873a2b54e Handle Auth redirect in MailboxDashboardController
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-17 10:57:43 +07:00
dab246 9c9e12dedc TF-624 Implement logout oidc on browser 2022-06-09 21:20:26 +07:00