FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. tiny.lamp6590
    3. Best
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 2
    • Controversial 0
    • Groups 0

    Best posts made by tiny.lamp6590

    • React SDK Example Issue

      I am testing out FusionAuth for using in React and trying to implement the FusionAuth example for React using the FusionAuth React SDK:

      fusionauth-example-react-sdk

      I have FusionAuth running on my dev machine and followed the instructions in the REAME. Everything seems to be setup as instructed and double checked but when attempting to login the app/callback route responds with service unavailable and the console message:

      refresh token or access token is missing.
      {"error":"invalid_request","error_description":"Invalid Authorization Code","error_reason":"auth_code_not_found"}
      

      Through various console.logs I have checked all the form field variables posted to the /oauth2/token route and they seem correct but the response body only has the error object, no tokens.

      Searching around I have seen issue with the redirect_uri and the setup in the FusionAuth Application but again they seem properly setup and matching. I am assuming I am missing some key setting but have rechecked the README instructions and the Application setup multiple times without success so at this point any suggestions I should checkout would be much appreciated!

      posted in General Discussion
      T
      tiny.lamp6590
    • RE: React SDK - Architecture

      @david-toon-fsd I think that is where I am headed next, thanks for the heads up on cookies. I finally got the their fusionauth-example-react-sdk working with self hosted non-docker and cookies were part of the problem.

      My main goal is to figure out how to use my own login forms, etc and not have to deal with creating and matching my styling with their hosted forms even though they recommend it. @dan has some advice from this 2020 post if your doing the same.

      It would be great if they had an unstyled set of components so we could drop in like <FustionAuthLogin/> and send it the specified Props and integrate/style as needed. May try to create a small headless UI library down the road to do that if I ever get this all figured out.

      posted in General Discussion
      T
      tiny.lamp6590