Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Zitadel does not honor "Light Mode only" when after user logs in with another browser or in private mode #7876

Open
2 tasks done
wlinna opened this issue Apr 30, 2024 · 2 comments
Labels
bug Something isn't working frontend good first issue Good for newcomers

Comments

@wlinna
Copy link

wlinna commented Apr 30, 2024

Preflight Checklist

  • I could not find a solution in the documentation, the existing issues or discussions
  • I have joined the ZITADEL chat

Environment

Self-hosted

Version

v2.49.2

Database

PostgreSQL

Database Version

No response

Describe the problem caused by this bug

I have set the branding setting to Light Mode only in Firefox with Zitadel Admin.
It works fine for the browser session that was used for configuring the branding.
It also works in login screen.

However, as soon as I log in with another browser or use private mode with the same browser, the configured branding ceases to show.

To reproduce

  1. Configure your desktop / browser to use Dark mode.
  2. Open Zitadel in Firefox and log in as Zitadel Admin
  3. Go to Default settings > Branding
  4. Set Light mode only
  5. Open Chromium. Observe that the login screen is light (as it should)
  6. Log in as Zitadel Admin. Observre that the screen is dark again

Screenshots

ZitadelLightModeNotHonored

Expected behavior

Zitadel should use Light Mode in all views for all users when Light Mode only is set.

Operating System

Pop!_OS 22.04
Firefox 125
Chromium 124

Relevant Configuration

No response

Additional Context

No response

@wlinna wlinna added the bug Something isn't working label Apr 30, 2024
@hifabienne
Copy link
Member

I quickly tested this, and I am currently not sure if the ZITADEL Management console even has the lightmode/darkmode only implemented. When I change to lightmode in my settings it does change for the login ui, but not for the console

@hifabienne hifabienne added frontend good first issue Good for newcomers labels May 1, 2024
@wlinna
Copy link
Author

wlinna commented May 1, 2024

For me the whole console changes color to light. But maybe the "only" part of Light Mode only isn't implemented. And it remembers (maybe with cookies / localStorage) that setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend good first issue Good for newcomers
Projects
Status: 🧐 Investigating
Development

No branches or pull requests

2 participants