Sign-in: the mail server page shows the light or dark look in use here #87

Merged
jcoffey-dev merged 1 commits from feat/sign-in-theme into main 2026-11-11 18:51:08 +00:00
Owner

Login and Add account pass theme=light or theme=dark (whatever applyTheme resolved, so "follow the system" sends the system look) to /api/auth/oauth/start. The server forwards only those two values on the authorize request, so the sign-in page matches webmail instead of following the OS (inbuxa-server #375; the page reads it from server PR #376). A server without that change ignores the parameter.

New server test covers both values and drops anything else. typecheck, all tests, release-version test and build pass locally.

Login and Add account pass `theme=light` or `theme=dark` (whatever `applyTheme` resolved, so "follow the system" sends the system look) to `/api/auth/oauth/start`. The server forwards only those two values on the authorize request, so the sign-in page matches webmail instead of following the OS (inbuxa-server #375; the page reads it from server PR #376). A server without that change ignores the parameter. New server test covers both values and drops anything else. typecheck, all tests, release-version test and build pass locally.
jcoffey-dev added 1 commit 2026-11-11 18:39:29 +00:00
Sign-in: the mail server's page shows the light or dark look in use here
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m6s
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
f23b03b649
Login and Add account pass theme=light or theme=dark to /api/auth/oauth/start, which forwards only those two values on the authorize request (inbuxa-server #375, page support in server PR #376). A server that doesn't know the parameter ignores it.
jcoffey-dev merged commit fd9d616827 into main 2026-11-11 18:51:08 +00:00
jcoffey-dev deleted branch feat/sign-in-theme 2026-11-11 18:51:08 +00:00
jcoffey-dev referenced this issue from a commit 2026-11-11 19:16:14 +00:00
Sign in to join this conversation.