auth0-deploy-cli icon indicating copy to clipboard operation
auth0-deploy-cli copied to clipboard

Inconsistency in branding -> (colors, logo_url) between a0deploy versions and formats

Open joshw opened this issue 3 years ago • 0 comments

Description

We have been using version 7.9.0, and when I went to update to 7.14.3, i noticed some changes in the yaml format output of export. I tried several versions, and it seems like this changed between 7.10.0 and 7.11.0.

Specifically, in version 7.11.0 and higher, the "branding" section is missing the colors and logo_url properties in the yaml output format. They do seem to be present in the directory format.

I think these fields were accidentally removed from the yaml format, but even if this change was deliberate, it seems like the two output formats should agree.

Provide a clear and concise description of the issue, including what you expected to happen.

Reproduction

In 7.10.0, in the yaml format, tenant.yaml contains

branding:
  colors:
    primary: '#f55e05'
    page_background: '#000000'
  logo_url: <my url>
  templates: []

and in directory mode, branding/branding.json contains

{
  "colors": {
    "primary": "#f55e05",
    "page_background": "#000000"
  },
  "logo_url": "<my url>"
}

In newer versions, however, this is different. In 7.14.3, I get this instead:

yaml mode:

branding:
  templates: []

directory mode:

{
  "colors": {
    "primary": "#f55e05",
    "page_background": "#000000"
  },
  "logo_url": "<url>"
}

joshw avatar Sep 07 '22 21:09 joshw