FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Undocumented custom data on themes?

    Scheduled Pinned Locked Moved
    Q&A
    0
    3
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mmcnamara
      last edited by

      I noticed a Theme.data field in the Javadoc, and testing it via REST it appears to be a custom data field like the one User has, but it is not documented on the main API page: https://fusionauth.io/docs/v1/tech/apis/themes/

      So, I just want to check if this API can be relied on and this is just a case of missing documentation, or should I avoid this field?

      The use case is checking if we can write one 'master' theme to share among applications/tenants, and control specific customisations via feature flags stored in the theme.

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Hiya,

        I'm unsure if this works correctly, so am hesitant to document it publicly.

        I added a tracking issue to investigate functionality and document if it works as expected: https://github.com/FusionAuth/fusionauth-site/issues/959

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • danD
          dan
          last edited by

          Tested and verified this works. Feel free to use theme.data to your heart's content, @mmcnamara !

          --
          FusionAuth - Auth for devs, built by devs.
          https://fusionauth.io

          1 Reply Last reply Reply Quote 0
          • First post
            Last post