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

    Undocumented custom data on themes?

    Scheduled Pinned Locked Moved Q&A
    3 Posts 0 Posters 3.3k Views
    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 - Identity Without Constraints
        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 - Identity Without Constraints
          https://fusionauth.io

          1 Reply Last reply
          Reply Quote 0
          • danD dan moved this topic from Q&A on
          • danD dan moved this topic from Frequently Asked Questions (FAQ) on

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post