Skip to content

Branding: custom CSS: font families using quoted strings don't work #14958

@jkrejcha

Description

@jkrejcha

Describe the bug
Font families using quoted strings don't work (the CSS parser outputs an escaped version)

To Reproduce
Steps to reproduce the behavior:

  1. Edit a brand to add custom CSS to it
  2. Add a style which has a quoted font-family in it, like so: font-family: "Foo Bar", sans-serif;
  3. Observe on the login page that the rendered CSS (using FF DevTools) shows as font-family: "

Expected behavior
The font-family should be "Foo Bar", sans-serif instead of ".

Screenshots
N/A

Logs
N/A

Version and Deployment (please complete the following information):

  • authentik version: 2025.4.1
  • Deployment: docker-compose

Additional context
The original text doesn't get clobbered so it's probably whatever logic is escaping the CSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions