authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Branding Settings wont apply (not CSS issue)

Open Mrs-Feathers opened this issue 10 months ago • 5 comments

Describe the bug

Branding Settings, when edited, if you click apply, will not save. period.

How to reproduce

  1. login to admin panel
  2. navigate to branding
  3. edit any brand
  4. try to save, get error

Expected behavior

settings are saved.

Screenshots

Image

The two resources with 404 are favicon and logo... thats why im trying to change the branding in the first place. they are in /media/logo.png so i need to update to /data/media/logo.png but im unable to edit branding.

Image

Additional context

Fresh update from 2025.10.3 to 2025.12.2 , i changed the media volume to data/media as outlined. i havent made any other modifications.

it was working perfectly before the update, so i have to assume its not a configuration error, but an authentik migration error or something internal.

Deployment Method

Docker

Version

2025.12.2

Relevant log output

i havent found any relevant output about this in the logs. 

here is the output of the requests anyway:

server-1  | {"event":"updating brand certificates","level":"info","logger":"authentik.router.brand_tls","timestamp":"2026-02-01T08:47:46Z"}
server-1  | {"auth_via": "ipc", "domain_url": "0.0.0.0", "event": "/api/v3/core/brands/?page=1&page_size=100", "host": "0.0.0.0:9000", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 238, "remote": "127.0.0.1", "request_id": "60578d778f634286a265de27546b8954", "runtime": 118, "schema_name": "public", "scheme": "http", "status": 200, "timestamp": "2026-02-01T08:47:47.036282", "user": "authentik:system", "user_agent": "goauthentik.io/ipc/2025.12.2"}
server-1  | {"auth_via": "session", "domain_url": "auth.REDACTED.com", "event": "/api/v3/core/brands/0d13d8c4-1a84-487c-aeca-d3c1c66e5d15/", "host": "auth.furryrefuge.com", "level": "info", "logger": "authentik.asgi", "method": "PATCH", "pid": 239, "remote": "10.0.0.36", "request_id": "f72134ed00564511be25e6410433c2f1", "runtime": 193, "schema_name": "public", "scheme": "https", "status": 400, "timestamp": "2026-02-01T08:47:57.880580", "user": "echo", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"}
server-1  | {"event":"updating brand certificates","level":"info","logger":"authentik.router.brand_tls","timestamp":"2026-02-01T08:47:58Z"}
server-1  | {"auth_via": "ipc", "domain_url": "0.0.0.0", "event": "/api/v3/core/brands/?page=1&page_size=100", "host": "0.0.0.0:9000", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 238, "remote": "127.0.0.1", "request_id": "5106df8b5fe7457782e11fa460df5ffc", "runtime": 92, "schema_name": "public", "scheme": "http", "status": 200, "timestamp": "2026-02-01T08:47:58.799722", "user": "authentik:system", "user_agent": "goauthentik.io/ipc/2025.12.2"}
server-1  | {"auth_via": "session", "domain_url": "auth.REDACTED.com", "event": "/api/v3/core/brands/0d13d8c4-1a84-487c-aeca-d3c1c66e5d15/", "host": "auth.REDACTED.com", "level": "info", "logger": "authentik.asgi", "method": "PATCH", "pid": 238, "remote": "10.0.0.36", "request_id": "942e2dc6b18b4043b381b87729666f6d", "runtime": 157, "schema_name": "public", "scheme": "https", "status": 400, "timestamp": "2026-02-01T08:47:59.172132", "user": "echo", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"}

Mrs-Feathers avatar Feb 01 '26 08:02 Mrs-Feathers

Hi,

I also had to change the branding settings after the update. At first, it wouldn't save with the error that we can't use an absolute path. I just put the filename and it worked.

So: Before the update, the file was saved in the following path: ./media/public/logo.svg. After, the update, I moved it to ./data/media/public/logo.svg.

In the branding settings, I changed the path from /media/public/logo.svg to just the file name: logo.svg.

Hopefully, it could also help you.

Karting06 avatar Feb 01 '26 16:02 Karting06

Describe the bug

Branding Settings, when edited, if you click apply, will not save. period.

How to reproduce

  1. login to admin panel
  2. navigate to branding
  3. edit any brand
  4. try to save, get error

Expected behavior

settings are saved.

Screenshots

Image The two resources with 404 are favicon and logo... thats why im trying to change the branding in the first place. they are in /media/logo.png so i need to update to /data/media/logo.png but im unable to edit branding. Image ### Additional context Fresh update from 2025.10.3 to 2025.12.2 , i changed the media volume to data/media as outlined. i havent made any other modifications.

it was working perfectly before the update, so i have to assume its not a configuration error, but an authentik migration error or something internal.

Deployment Method

Docker

Version

2025.12.2

Relevant log output

i havent found any relevant output about this in the logs.

here is the output of the requests anyway:

server-1 | {"event":"updating brand certificates","level":"info","logger":"authentik.router.brand_tls","timestamp":"2026-02-01T08:47:46Z"} server-1 | {"auth_via": "ipc", "domain_url": "0.0.0.0", "event": "/api/v3/core/brands/?page=1&page_size=100", "host": "0.0.0.0:9000", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 238, "remote": "127.0.0.1", "request_id": "60578d778f634286a265de27546b8954", "runtime": 118, "schema_name": "public", "scheme": "http", "status": 200, "timestamp": "2026-02-01T08:47:47.036282", "user": "authentik:system", "user_agent": "goauthentik.io/ipc/2025.12.2"} server-1 | {"auth_via": "session", "domain_url": "auth.REDACTED.com", "event": "/api/v3/core/brands/0d13d8c4-1a84-487c-aeca-d3c1c66e5d15/", "host": "auth.furryrefuge.com", "level": "info", "logger": "authentik.asgi", "method": "PATCH", "pid": 239, "remote": "10.0.0.36", "request_id": "f72134ed00564511be25e6410433c2f1", "runtime": 193, "schema_name": "public", "scheme": "https", "status": 400, "timestamp": "2026-02-01T08:47:57.880580", "user": "echo", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"} server-1 | {"event":"updating brand certificates","level":"info","logger":"authentik.router.brand_tls","timestamp":"2026-02-01T08:47:58Z"} server-1 | {"auth_via": "ipc", "domain_url": "0.0.0.0", "event": "/api/v3/core/brands/?page=1&page_size=100", "host": "0.0.0.0:9000", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 238, "remote": "127.0.0.1", "request_id": "5106df8b5fe7457782e11fa460df5ffc", "runtime": 92, "schema_name": "public", "scheme": "http", "status": 200, "timestamp": "2026-02-01T08:47:58.799722", "user": "authentik:system", "user_agent": "goauthentik.io/ipc/2025.12.2"} server-1 | {"auth_via": "session", "domain_url": "auth.REDACTED.com", "event": "/api/v3/core/brands/0d13d8c4-1a84-487c-aeca-d3c1c66e5d15/", "host": "auth.REDACTED.com", "level": "info", "logger": "authentik.asgi", "method": "PATCH", "pid": 238, "remote": "10.0.0.36", "request_id": "942e2dc6b18b4043b381b87729666f6d", "runtime": 157, "schema_name": "public", "scheme": "https", "status": 400, "timestamp": "2026-02-01T08:47:59.172132", "user": "echo", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"}

Which CSS do u use? this https://github.com/VULGA01/Authentik-Login-theme-Glassmorphism?

ooCloudXoo avatar Feb 03 '26 11:02 ooCloudXoo

Hi,

I also had to change the branding settings after the update. At first, it wouldn't save with the error that we can't use an absolute path. I just put the filename and it worked.

So: Before the update, the file was saved in the following path: ./media/public/logo.svg. After, the update, I moved it to ./data/media/public/logo.svg.

In the branding settings, I changed the path from /media/public/logo.svg to just the file name: logo.svg.

Hopefully, it could also help you.

@Mrs-Feathers Are you still experiencing the issue after following these steps?

dewi-tik avatar Feb 05 '26 15:02 dewi-tik

@Mrs-Feathers Are you still experiencing the issue after following these steps?

no, ive solved the issue just now. i finally had some time to update and try again.... what solved it was that plus the extra step of uploading the logo.svg into the new files thing and then editing the brand to point to the logo.svg.

anyway, its usable now. i just have to redo all my css because that looks all funky now. but liking the new features. thanks

Mrs-Feathers avatar Feb 14 '26 07:02 Mrs-Feathers

Thanks for confirming. This new documentation might help in relation to your custom CSS: https://version-2026-2.goauthentik.io/brands/custom-css/

dewi-tik avatar Feb 14 '26 11:02 dewi-tik