I am testing out FusionAuth for using in React and trying to implement the FusionAuth example for React using the FusionAuth 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!