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

Example Request: FusionAuth / Spring Boot / React

Scheduled Pinned Locked Moved
General Discussion
2
5
2.3k
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.
  • C
    ccaspanello
    last edited by 16 Sept 2022, 01:20

    Is there a good example of integrating Fusion Auth with a Spring Boot Backend and ReactJS Frontend?

    J 1 Reply Last reply 21 Sept 2022, 00:55 Reply Quote 0
    • J
      joshua @ccaspanello
      last edited by 21 Sept 2022, 00:55

      @ccaspanello

      Thanks for the question - we have an example overview page with a few tutorials that cover what you are requesting

      https://fusionauth.io/docs/v1/tech/example-apps/

      Thanks,
      Josh

      C 1 Reply Last reply 27 Sept 2022, 02:51 Reply Quote 0
      • C
        ccaspanello @joshua
        last edited by 27 Sept 2022, 02:51

        @joshua Thank you for your response. I looked over the examples and they don't paint the whole picture. For example the Spring Security gives a Spring Boot application to configure the backend server; but it uses Freemarker templates as static resources instead of a React Frontend. The React example on the other hand communicates to a Node server instead of Spring Boot and even then I don't know if this configuration is "safe" https://github.com/FusionAuth/fusionauth-example-react/blob/master/config.js#L4

        J 1 Reply Last reply 3 Oct 2022, 20:50 Reply Quote 0
        • J
          joshua @ccaspanello
          last edited by 3 Oct 2022, 20:50

          @ccaspanello

          Can you expand on what you mean by the word "safe"?

          We may be missing an exact tutorial for your use case, but you can open an issue so that we can consider adding this to our documentation.

          https://github.com/FusionAuth/fusionauth-issues/issues/new/choose

          Thanks,
          Josh

          C 1 Reply Last reply 21 Oct 2022, 04:39 Reply Quote 0
          • C
            ccaspanello @joshua
            last edited by 21 Oct 2022, 04:39

            @joshua After digging deeper in the code it looks like this is actually a shared configuration file between the frontend and backend (which was a little confusing). But it doesn't look like the client actually uses the secrets or apiKey which is what I didn't think was safe. So I think I am good for now. Thank you for following up with me.

            I'm understanding the Node JS side more ... I may be able to replicate this behavior in Spring Boot. If so I'll share my findings and maybe you guys can add this to your examples for future users.

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