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

    "Enable Theme" for login page option is not available. How to enable the same or how can we customize login screen bypassing Fusion Auth default login screen?

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    3
    3
    2.5k
    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.
    • J
      jitendra.sabat
      last edited by

      Hi,
I have few questions regarding custom login page modification.Pleas let me know how can we achieve the same.
      1)Not able to find "Enable theme" option under Settings-> System -> UI section. I only see basic options. How to get theme option for designing custom login screen? Please guide.

      Screen Shot 2022-03-16 at 12.41.30 AM.png
      2)Also once theme is enabled how to include images in html? Is there any assets upload options that will facilitate me to use the included asset in created login page? If any other alternative is present let us know that as well. How to include and use any sort of assets like icon and images in theme html?
      Screen Shot 2022-03-15 at 1.11.40 PM (1).png
      3)How can we make use of any UI that is dependent on any back end service like Language Localization, Help as shown in image. Please let us know your thought on the same.
      4)Can we run and use Material UI components on this page? If it is how can we?

      joshuaJ 1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua @jitendra.sabat
        last edited by joshua

        @jitendra-sabat

        Information about our theming can be found below

        • https://fusionauth.io/docs/v1/tech/themes/

        With a theme, you can pull in any valid CSS, JS, and FreeMarker to our hosted pages. The documenation above covers some good starting points.

        Thanks,
        Josh

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

          To add on to what @joshua wrote:

          • You can't host assets in FusionAuth (like CSS or images). You must host those externally. This post might be useful to you: https://fusionauth.io/community/forum/topic/1306/parameterizing-themes
          • To offer a localization drop down, you need to build the select box in your theme or you can use the localSelector helper macro. This will iterate the supported locales for a theme and build the dropdown. Then, when it is changed, the page will forward to the same URL with a new locale parameter, which should render the page properly. More on the localization of themes here: https://fusionauth.io/docs/v1/tech/themes/localization
          • I'm not familiar with Material UI but if it is javascript, html and css, it should be workable.

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

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