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

    FusionAuth without universal Login Page?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    459
    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.
    • F
      fritzgaertner
      last edited by

      Hey FusionAuth Community,

      since a few weeks I am using FusionAuth and I'm a really big fan. For my projects I'm using Express and NextJS (ReactJS).

      I would really like to know if it is possible to login with a normal submit form, instead of beeing directed to FusionAuth's Login Form (which I can only style with normal css and not tailwind). Anyone got an example (best case with functional password reset button) with React and Express?

      I tryed a few things like using the API, but nothing worked for me, maybe because of lacking experience.

      Would be grateful for every help!

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

        Hi @fritzgaertner

        Thanks for using FusionAuth!

        A couple of things.

        1. You should be able to use Tailwind CSS to style the FusionAuth pages. You'll need to update your themed pages, but as I understand tailwind (based on a scan of this page) you can use it with any HTML pages, which is what the FusionAuth themed pages are. I'd suggest modifying the head helper to pull in the Tailwind generated CSS. What obstacles have you run into?

        2. If you don't use the hosted login pages, you're missing out on a lot of functionality and security benefits.

        3. But you can totally do that if it meets your needs. You can use the Login API or Password grant to directly post user credentials and get back a JWT.

        One of the benefits of using FusionAuth is that your code (other than front end code) never has to handle user credentials, so that's why we recommend the Authorization Code grant.

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

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