Skip to content

Docs: ui_theme.logo.alt is mandatory and non-empty even with an empty logo.url #38

Description

@rafiki270

Found while building cadeom's config-JWT endpoint against UOA, verified in UOA source rather than inferred from behaviour.

ui_theme.logo.alt is z.string().trim().min(1) — mandatory and non-empty — even when logo.url is "".

The guide presents the logo block as optional decoration, so {url: "", alt: ""} looks like the correct way to say "no logo image". It fails schema validation.

This bites specifically in the common case: an integrator whose logo is hosted on their app origin cannot use logo.url at all, because UOA requires the image to be HTTPS on exactly the domain host. They fall back to a text logo, empty the URL, and reasonably empty the alt text too.

Ask: document that alt is required regardless, and say what it should contain when there is no image.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions